oyd
/
oyd-web-en
Archived
7
0
Fork 0
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
oyd-web-en/layouts/partials/header.html

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>