diff --git a/hugo.toml b/hugo.toml index b69e91bc..6c7d9fd7 100644 --- a/hugo.toml +++ b/hugo.toml @@ -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' diff --git a/static/badges/peer-reviewed.svg b/static/badges/peer-reviewed.svg new file mode 100644 index 00000000..d1d08195 --- /dev/null +++ b/static/badges/peer-reviewed.svg @@ -0,0 +1 @@ + diff --git a/themes/clean-hugo/assets/css/_footer.scss b/themes/clean-hugo/assets/css/_footer.scss index 59a25b33..1f46d60b 100644 --- a/themes/clean-hugo/assets/css/_footer.scss +++ b/themes/clean-hugo/assets/css/_footer.scss @@ -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; + } + } } diff --git a/themes/clean-hugo/layouts/partials/footer.html b/themes/clean-hugo/layouts/partials/footer.html index b0924738..8b15c385 100644 --- a/themes/clean-hugo/layouts/partials/footer.html +++ b/themes/clean-hugo/layouts/partials/footer.html @@ -26,5 +26,18 @@ © {{ now.Format "2006" }} {{ .Site.Title }}
+ + {{ if .IsHome }} + + {{ end }}