bunteshaus.de/themes/buha/layouts/partials/structure/header.html
2022-04-03 21:08:42 +02:00

22 lines
702 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">
{{ $visible := site.Params.mainMenu }}
{{- range site.Params.mainSections -}}
{{ $section := . }}
{{ range $visible }}
{{ if eq $section . }}
{{ $name := . | T }}
{{ if eq $name "" }}
{{ $name = . }}
{{ end }}
<a href="{{- . | relLangURL -}}">{{- $name | humanize -}}</a>
{{ end }}
{{ end }}
{{- end -}}
</div>
</div>