2020-07-21 11:06:30 +01:00
|
|
|
<header class="header">
|
|
|
|
<nav class="nav">
|
|
|
|
{{- if .IsHome }}
|
2020-08-24 21:10:02 +01:00
|
|
|
<h1 class="logo"><a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a></h1>
|
2020-07-21 11:06:30 +01:00
|
|
|
{{- else }}
|
2020-08-24 21:10:02 +01:00
|
|
|
<p class="logo"><a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a></p>
|
2020-07-20 16:02:07 +01:00
|
|
|
{{- end }}
|
2020-07-21 11:06:30 +01:00
|
|
|
{{- if .Site.Menus.main }}
|
2020-08-21 16:33:05 +01:00
|
|
|
<ul class="menu" id="menu" onscroll="menu_on_scroll()">
|
2020-07-21 11:06:30 +01:00
|
|
|
{{- range .Site.Menus.main }}
|
|
|
|
<li>
|
2020-08-24 21:10:02 +01:00
|
|
|
<a href="{{ .URL | absLangURL}}">{{ .Name }}</a>
|
2020-07-21 11:06:30 +01:00
|
|
|
</li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
{{- end }}
|
|
|
|
</nav>
|
|
|
|
</header>
|