Özgür Yazılım Derneği web sitesi
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/nav.html

10 lines
271 B

<div id="menu">
<div id="menuToggler"></div>
<div id="menuItems" class="">
{{ $page := . }}
{{ range .Site.Menus.main }}
<a class="menuItem {{ if hasPrefix $page.URL .URL }}current{{ end }}" href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
</div>
</div>