2023-12-13 22:55:13 +01:00
|
|
|
<header class="header-wrapper">
|
|
|
|
<div class="header">
|
2024-01-26 21:24:08 +01:00
|
|
|
<a class="site-title" href="{{ .Site.BaseURL }}">Home</a>
|
2023-12-13 22:55:13 +01:00
|
|
|
|
|
|
|
<nav class="menu">
|
|
|
|
{{ range .Site.Menus.main }}
|
|
|
|
<div class="menu-item">
|
|
|
|
{{ if not .Children }}
|
|
|
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
{{ else }}
|
|
|
|
<a>{{ .Name }}↓</a>
|
|
|
|
<nav class="sub-menu">
|
|
|
|
{{ range .Children }}
|
|
|
|
<div class="menu-item"><a href="{{ .URL }}">{{ .Name }}</a></div>
|
|
|
|
{{ end }}
|
|
|
|
</nav>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</header>
|