56 lines
1.8 KiB
HTML
56 lines
1.8 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>
|
|
{{- partial "snippets/contact" -}}
|
|
</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>
|
|
{{- end -}}
|
|
{{- if eq site.Params.newsletter true -}}
|
|
{{ $newsletter := "Newsletter" }}
|
|
{{ if i18n "newsletter" }}
|
|
{{ $newsletter = i18n "newsletter" }}
|
|
{{ end }}
|
|
<a href="{{- "newsletter" | absLangURL -}}">{{- $newsletter | strings.FirstUpper -}}</a>
|
|
{{- end -}}
|
|
{{- if eq site.Params.links true -}}
|
|
{{ $links := "Links" }}
|
|
{{ if i18n "links" }}
|
|
{{ $links = i18n "links" }}
|
|
{{ end }}
|
|
<a href="{{- "links" | absLangURL -}}">{{- $links | strings.FirstUpper -}}</a>
|
|
{{- end -}}
|
|
{{- if eq site.Params.imprint true -}}
|
|
{{ $imprint := "Imprint" }}
|
|
{{ if i18n "imprint" }}
|
|
{{ $imprint = i18n "imprint" }}
|
|
{{ end }}
|
|
<a href="{{- "imprint" | absLangURL -}}">{{- $imprint | strings.FirstUpper -}}</a>
|
|
{{- end -}}
|
|
</div>
|
|
|
|
<div class="infobox">
|
|
<a href="{{- "misc" | absLangURL -}}">Misc</a>
|
|
{{- if or (in .Site.Params.mainMenu .Section) -}}
|
|
{{- with .OutputFormats.Get "rss" -}}
|
|
{{- if .Permalink -}}
|
|
{{- printf `<a href="%s">` .Permalink | safeHTML -}}
|
|
{{- end -}}
|
|
RSS</a>
|
|
{{- end -}}
|
|
{{ end }}
|
|
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>
|
|
</div>
|
|
|