blob: 9ea8cee6bb0692c300b8d14c86cec87e15974416 (
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
|
<!-- Custom or default copyright -->
{{ if or (templates.Exists "partials/custom/copyright") (templates.Exists "partials/custom/copyright.html") }}
{{ partial "custom/copyright" . }}
{{ else }}
<p>{{ .Site.Copyright | markdownify | emojify }}</p>
{{ end }}
<!--
TODO
Maybe I should rethink this
-->
{{ if gt (len .Translations) 0 }}
{{ $processedLangs := slice }}
{{ range .Translations }}
{{ $currentLang := printf "<a rel=\"alternate\" hreflang=\"%s\" href=\"%s\">%s</a>" .Language.Lang .RelPermalink .Language.LanguageName }}
{{ $processedLangs = $processedLangs | append $currentLang }}
{{ end }}
<p>{{ T "alsoAvailable" }}: {{ delimit $processedLangs ", " (T "and") }}.</p>
{{ end }}
<!-- Footer button and color picker -->
{{ partialCached "footer-opt" . }}
|