Skip to content

Commit

Permalink
Add Code of Conduct to header and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaureir committed Sep 20, 2024
1 parent ab27b36 commit 7d8ad05
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ name = 'About'
pageRef = '/about'
weight = 20

[[menus.main]]
name = 'Code of Conduct'
url = '/about/#code-of-conduct'
weight = 30

[[menus.main]]
name = 'Speaking'
url = 'https://pretalx.com/pyladiescon-2024/cfp'
weight = 30
weight = 40

#[[menus.main]]
#name = 'Speakers'
Expand Down
2 changes: 2 additions & 0 deletions themes/pyladies/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
font-family: var(--font);
max-width: 1920px;
margin: auto;
scroll-margin-top: 100px;
}

p {
Expand Down Expand Up @@ -368,6 +369,7 @@ h2 a {
backdrop-filter: saturate(180%) blur(20px);
box-shadow: 0px 0px 2px 0px rgba(0,0,0,.8);
background-color: white;
font-size: 1rem
}
.site-header a {
color: black;
Expand Down
1 change: 1 addition & 0 deletions themes/pyladies/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</small>
</div>
<div class="col-md-5 col-lg-auto text-center text-md-start">
<a class="arrow-link" href="/about/#code-of-conduct">Code of Conduct</a>
<a class="arrow-link" href="https://pyladies.com/">PyLadies</a>
<a class="arrow-link" href="https://www.python.org/psf-landing/">PSF</a>
<a class="arrow-link" href="https://python.org">Python</a>
Expand Down

0 comments on commit 7d8ad05

Please sign in to comment.