bunteshaus.de/themes/buha/layouts/partials/structure/header.html

22 lines
702 B
HTML
Raw Normal View History

2021-10-23 22:20:01 +02:00
<div id="headerinner">
2022-03-26 19:22:14 +01:00
<a href="/">
<img src="/images/logo.svg" alt="SVG mit img laden" width="auto" height="100%" >
</a>
2021-10-23 22:20:01 +02:00
<div id="menu">
2022-04-03 21:08:42 +02:00
{{ $visible := site.Params.mainMenu }}
2021-10-23 22:20:01 +02:00
{{- range site.Params.mainSections -}}
2022-04-03 21:08:42 +02:00
{{ $section := . }}
{{ range $visible }}
{{ if eq $section . }}
{{ $name := . | T }}
{{ if eq $name "" }}
{{ $name = . }}
{{ end }}
<a href="{{- . | relLangURL -}}">{{- $name | humanize -}}</a>
2021-10-23 22:20:01 +02:00
{{ end }}
2022-03-27 14:24:21 +02:00
{{ end }}
2021-10-23 22:20:01 +02:00
{{- end -}}
2022-04-03 00:16:19 +02:00
2021-10-23 22:20:01 +02:00
</div>
</div>