forked from Bunteshaus/bunteshaus.de
22 lines
702 B
HTML
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>
|