Özgür Yazılım Derneği web sitesi https://oyd.org.tr
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.
oyd-web/layouts/partials/header.html

17 lines
612 B

<header class="navbar">
<div class="navbar-container">
<h1><a href="/" class="logo">Özgür Yazılım Derneği</a></h1>
<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>