forked from oyd/oyd-web
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.
19 lines
760 B
19 lines
760 B
<header class="navbar">
|
|
<div class="navbar-container">
|
|
<a href="/" class="logo"><img src="/oyd_logo.svg" alt="Özgür Yazılım Derneği" 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 }}
|
|
{{ range .Translations }}
|
|
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
|
|
{{ end}}
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|