Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ enableRobotsTXT = true
buildFuture = true

# Site images live in static/images/ (published as /images/...).
# Peer-review badges live in static/badges/ (published as /badges/...).

[sitemap]
changefreq = 'weekly'
Expand Down
1 change: 1 addition & 0 deletions static/badges/peer-reviewed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions themes/clean-hugo/assets/css/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,20 @@
margin: 0;
font-size: 0.68rem;
}

&__netlify {
margin-top: $spacing-sm;
text-align: center;

a {
display: inline-block;
line-height: 0;
}

img {
display: block;
height: auto;
max-width: 5rem;
}
}
}
13 changes: 13 additions & 0 deletions themes/clean-hugo/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,18 @@
© {{ now.Format "2006" }} {{ .Site.Title }}
</p>
</div>

{{ if .IsHome }}
<div class="site-footer__netlify">
<a href="https://www.netlify.com" rel="noopener noreferrer">
<img
src="{{ "images/netlify-badge-dark.svg" | relURL }}"
alt="Deploys by Netlify"
width="80"
height="36"
/>
</a>
</div>
{{ end }}
</div>
</footer>
Loading