27 lines
646 B
HTML
27 lines
646 B
HTML
|
<header class="site-header">
|
||
|
<div class="container">
|
||
|
<a href="/" class="site-masthead">
|
||
|
<p class="site-title">a</p>
|
||
|
</a>
|
||
|
<nav class="site-nav">
|
||
|
<ul>
|
||
|
{{ $currentPage := . }}
|
||
|
{{ range .Site.Menus.main }}
|
||
|
<li class='
|
||
|
{{ if or ($currentPage.IsMenuCurrent "main" .) (eq $currentPage.Section .Identifier) }}
|
||
|
active
|
||
|
{{ end }}'>
|
||
|
<a href="{{ .URL | absLangURL }}">
|
||
|
{{ .Pre }}
|
||
|
<span>{{ .Name }}</span>
|
||
|
{{ .Post }}
|
||
|
</a>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
</nav>
|
||
|
</div>
|
||
|
</header>
|
||
|
<div style="position: relative;">
|
||
|
<div id="top" style="scroll-margin-top: var(--header-height);"></div>
|
||
|
</div>
|