blob: 54d6ab1ff973b0c586f6cbd6093bf8ce564b5a62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>
|