blob: 53b3b2fc714ec0e8d3adc640eacc46268ad075e7 (
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 ((or .Section .Site.Author.default.footer) | default "default") -}}
<footer>
{{- with .Site.Author.footer -}}
{{- if $kind -}}
{{ . | markdownify }} ·
Copyright © {{ now | time.Format "2006"}} ·
{{- else -}}
{{ or $author.footer $author.title | markdownify }} ·
{{- end -}}
{{- end }}
<a href="/sitemap.xml" >Site Map</a>
</footer>
|