summaryrefslogtreecommitdiffstats
path: root/layouts/partials/footer.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-15 14:35:35 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-15 14:35:35 +0200
commit96f4778b558c29207b766e88ae9c62c038e7e2e3 (patch)
treed2d2cd0e1e2a3057d1aaa112e6e94ce64052f452 /layouts/partials/footer.html
parent0bde219bfe062ee6018196c385b42613489862dc (diff)
downloadgohugo-theme-ed-96f4778b558c29207b766e88ae9c62c038e7e2e3.tar.gz
Move footer to common place
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r--layouts/partials/footer.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..c0a6d49
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,11 @@
+<div class="sidebar-item">
+ <p>
+ {{- with site.Params.footer }}
+ {{ . | safeHTML }}
+ {{- else }}
+ {{- with .Params.editor }}<p>Edited by {{ . }}, {{ now.Format "2006" }}.</p>{{ end }}
+ Built with <a href="https://github.com/sergeyklay/gohugo-theme-ed" target="_blank" rel="noopener noreferrer">Ed.</a>
+ Distributed under an MIT license.
+ {{- end }}
+ </p>
+</div>