diff options
Diffstat (limited to 'themes/default/layouts/partials/footer.html')
-rw-r--r-- | themes/default/layouts/partials/footer.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/footer.html b/themes/default/layouts/partials/footer.html new file mode 100644 index 0000000..54d6ab1 --- /dev/null +++ b/themes/default/layouts/partials/footer.html @@ -0,0 +1,14 @@ +{{- $kind := in (slice "home" "taxonomy" "term") .Page.Kind -}} +{{- $author := index .Site.Data.authors .Section -}} + +<footer> + {{- if $kind -}} + {{- with $footer := (and $kind .Site.Author.default.footer) -}} + {{ $footer | markdownify }} · + Copyright © {{ now | time.Format "2006"}} · + {{- end -}} + {{- else -}} + {{ or $author.footer $author.title | markdownify }} · + {{- end }} + <a href="/sitemap.xml" >Site Map</a> +</footer> |