blob: 14b6cd16e93a02d504362936fdfc8018b715a857 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<footer class="bg-black w-100 pa3 tc near-white">
{{ if in (slice "by" "by-nd" "by-sa" "by-nc" "by-nc-nd" "by-nc-sa") .Site.Params.license }}
<a rel="license" href="http://creativecommons.org/licenses/{{ .Site.Params.license }}/4.0/">
<img alt="Creative Commons License" src="https://i.creativecommons.org/l/{{ .Site.Params.license }}/4.0/88x31.png"/>
</a><br/>
<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">{{ .Site.Title }}</span>
by
{{ with .Site.Author.homepage }}
<a xmlns:cc="http://creativecommons.org/ns#" href="{{ . }}" property="cc:attributionName" rel="cc:attributionURL">
{{ $.Site.Author.name }}
</a>
{{ else }}
{{ $.Site.Author.name }}
{{ end }}
is licensed under a
<a rel="license" href="http://creativecommons.org/licenses/{{ .Site.Params.license }}/4.0/">
Creative Commons
{{ with .Site.Params.license }}
Attribution{{ if in . "by-nc" }}-NonCommercial{{ end }}{{ if in . "-nd" }}-NoDerivatives
{{ else if in . "-sa" }}-ShareAlike
{{ end }}
{{ end }}
4.0 International License</a>
{{ else }}
Copyright © {{ now.Format "2006" }} {{ .Site.Author.name }}
{{ end }}
{{ with .Site.GetPage "footer.md" }}
{{ .Content }}
{{ end }}
</footer>
|