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

20 lines
648 B
HTML
Raw Normal View History

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