Add footer functionality

This commit is contained in:
Jordi Bares
2019-03-31 22:48:17 +01:00
committed by Alex Shpak
parent 941ca77a32
commit 45271b5298
9 changed files with 60 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
<!-- Copyright notice -->
{{ if .Site.Params.BookShowFooter }}
<div class="align-center book-git-footer justify-center">
{{ range .Site.Params.Copyright }}
<p>
{{ . | markdownify }}
</p>
{{ else }}
<p>
Made with Book Theme by <a target="_blank" href="https://github.com/alex-shpak/hugo-book">Alex Shpak</a>.
</p>
{{ end }}
</div>
{{ end }}