bunteshaus.de/themes/buha/layouts/partials/snippets/footer.html

57 lines
1.9 KiB
HTML
Raw Normal View History

2021-10-23 22:20:01 +02:00
{{- if eq site.Params.contact true }}
<div class="infobox">
2022-04-08 13:22:50 +02:00
{{ $contact := "Contact" }}
{{ if i18n "contact" }}
2022-04-03 21:08:42 +02:00
{{ $contact = i18n "contact" }}
{{ end }}
<a href="{{- "contact" | absLangURL -}}">{{- $contact | strings.FirstUpper -}}:</a><br><br>
2022-04-08 12:04:46 +02:00
{{- partial "structure/contact" -}}
2021-10-23 22:20:01 +02:00
</div>
{{- end -}}
2022-04-03 01:12:28 +02:00
<div class="infobox">
{{- if eq site.Params.archive true -}}
2022-04-08 13:22:50 +02:00
{{ $archive := "Archive" }}
{{ if i18n "archive" }}
2022-04-03 21:08:42 +02:00
{{ $archive = i18n "archive" }}
{{ end }}
<a href="{{- "archive" | absLangURL -}}">{{- $archive | strings.FirstUpper -}}</a><br><br>
2022-04-03 01:12:28 +02:00
{{- end -}}
2022-04-08 12:04:46 +02:00
{{- if eq site.Params.newsletter true -}}
{{ $newsletter := "Newsletter" }}
2022-04-08 13:22:50 +02:00
{{ if i18n "newsletter" }}
2022-04-08 12:04:46 +02:00
{{ $newsletter = i18n "newsletter" }}
{{ end }}
<a href="{{- "newsletter" | absLangURL -}}">{{- $newsletter | strings.FirstUpper -}}</a><br><br>
{{- end -}}
2022-04-06 00:02:18 +02:00
<a href="{{- "misc" | absLangURL -}}">Misc</a><br><br>
2022-04-10 11:30:54 +02:00
<a href="{{- "tools" | absLangURL -}}">Tools</a><br><br>
2022-04-04 19:30:58 +02:00
</div>
<div class="infobox">
2022-04-03 01:12:28 +02:00
{{- if eq site.Params.imprint true -}}
2022-04-08 13:22:50 +02:00
{{ $imprint := "Imprint" }}
{{ if i18n "imprint" }}
2022-04-03 21:08:42 +02:00
{{ $imprint = i18n "imprint" }}
{{ end }}
<a href="{{- "imprint" | absLangURL -}}">{{- $imprint | strings.FirstUpper -}}</a><br><br>
2022-04-08 13:22:50 +02:00
{{- end -}}
{{- if eq site.Params.links true -}}
{{ $links := "Links" }}
{{ if i18n "links" }}
{{ $links = i18n "links" }}
{{ end }}
<a href="{{- "links" | absLangURL -}}">{{- $links | strings.FirstUpper -}}</a><br><br>
2022-04-03 01:12:28 +02:00
{{- end -}}
2022-04-08 17:21:11 +02:00
{{- if not (or (eq .Section "featured") (eq .Section "about")) -}}
{{- with .OutputFormats.Get "rss" -}}
{{- if .Permalink -}}
{{- printf `<a href="%s">` .Permalink | safeHTML -}}
{{- end -}}
RSS</a><br><br>
{{- end -}}
{{ end }}
2022-04-03 01:12:28 +02:00
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>
</div>
2022-04-03 01:02:41 +02:00