bunteshaus.de/themes/buha/layouts/partials/snippets/header.html
2022-05-06 11:49:30 +02:00

20 lines
648 B
HTML

{{ $img := resources.GetMatch "/images/logo_back_full.svg" }}
<div id="headerinner" style="background: url(--backgroud-color); background-size: cover;">
<a href="/">
<img src="/images/logo.svg" alt="SVG mit img laden" class="dark-shadow">
</a>
<div id="menu">
{{- range site.Params.mainMenu -}}
{{ $name := . }}
{{ if i18n . }}
{{ $name = i18n . }}
{{ end }}
<a href="{{- . | relLangURL -}}" class="dark-shadow">{{- $name | humanize -}}</a>
{{- end -}}
</div>
</div>