You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
628 B
16 lines
628 B
<header class="navbar">
|
|
<div class="navbar-container">
|
|
<a href="/" class="logo"><img src="/oyd_logo.svg" width="auto" height="60"/></a>
|
|
<nav>
|
|
<!-- <label for="drawer-control" class="drawer-toggle"></label> -->
|
|
<!-- <input type="checkbox" id="drawer-control" class="drawer"> -->
|
|
<!-- <label for="drawer-control" class="drawer-close"></label> -->
|
|
{{ $currentPage := . }}
|
|
{{ range .Site.Menus.main }}
|
|
<a class="{{ if hasPrefix $currentPage.URL .URL }}active{{ end }}" href="{{ .URL }}" title="{{ .Title }}">
|
|
{{ .Name }}
|
|
</a>
|
|
{{ end }}
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|