Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pfadfinder-konstanz/hugo-dpsg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Mehl <mail@mehl.mx>2020-11-03 10:40:19 +0300
committerMax Mehl <mail@mehl.mx>2020-11-03 10:40:19 +0300
commit055443ac8c8f44f487d05421dcac98cabc2f71d2 (patch)
tree6a8ce1efd52667710fa575c320ca57ee8619680c /layouts
parent3474e58a14e6b1ef03af482ad4e67e6e73ccc05b (diff)
allow for free text in footer
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 560cf48..95d9ac4 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -4,6 +4,7 @@
<div class="footer__copyright">
&copy; {{ now.Format "2006" }} {{ .Site.Params.copyright | default .Site.Title }}.
<span class="footer__copyright-credits">{{ T "footer_credits" | safeHTML }}</span>
+ {{ with .Site.Params.footer.text }}<span>{{ . | markdownify }}</span>{{ end }}
</div>
</div>
-</footer> \ No newline at end of file
+</footer>