bunteshaus.de/themes/buha/layouts/partials/header.html
2022-03-27 16:47:39 +02:00

24 lines
849 B
HTML

<div id="headerinner">
<a href="/">
<img src="/images/logo.svg" alt="SVG mit img laden" width="auto" height="100%" >
</a>
<div id="menu">
{{- range site.Params.mainSections -}}
{{ if eq . "about" }}
{{ $name := . | T }}
{{ if eq $name "" }}
{{ $name = . }}
{{ end }}
<a href="{{- . | relLangURL -}}">{{- $name | humanize -}}</a>
{{ end }}
{{- end -}}
<div style="display: flex; flex-direction: column; margin-left: 1rem;">
{{ range $.Site.Home.AllTranslations }}
{{ if ne .Lang $.Lang }}
<a href="{{- .Permalink -}}">{{- .Lang -}}</a>
{{ end }}
{{ end }}
</div>
</div>
</div>