bunteshaus.de/themes/buha/layouts/partials/structure/footer.html
2022-04-06 00:02:18 +02:00

40 lines
1.2 KiB
HTML

{{- if eq site.Params.contact true }}
<div class="infobox">
{{ $contact := "contact" }}
{{ if i18n $contact }}
{{ $contact = i18n "contact" }}
{{ end }}
<a href="{{- "contact" | absLangURL -}}">{{- $contact | strings.FirstUpper -}}:</a><br><br>
{{- partial "contact.html" -}}
</div>
{{- end -}}
<div class="infobox">
{{- if eq site.Params.archive true -}}
{{ $archive := "archive" }}
{{ if i18n $archive }}
{{ $archive = i18n "archive" }}
{{ end }}
<a href="{{- "archive" | absLangURL -}}">{{- $archive | strings.FirstUpper -}}</a><br><br>
{{- end -}}
<a href="{{- "misc" | absLangURL -}}">Misc</a><br><br>
</div>
<div class="infobox">
{{- if eq site.Params.imprint true -}}
{{ $imprint := "imprint" }}
{{ if i18n $imprint }}
{{ $imprint = i18n "imprint" }}
{{ end }}
<a href="{{- "imprint" | absLangURL -}}">{{- $imprint | strings.FirstUpper -}}</a><br><br>
{{- end -}}
{{- with .OutputFormats.Get "rss" -}}
{{- if .Permalink -}}
{{- printf `<a href="%s">` .Permalink | safeHTML -}}
{{- end -}}
RSS</a><br><br>
{{- end -}}
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>
</div>