Compare commits

..

No commits in common. "e33bf7b8c544e27c49f4c132aa95bf762c20d541" and "8af9ecc791bf354a63ff879ea396f5f663238535" have entirely different histories.

View file

@ -1,8 +1,7 @@
<nav> <nav>
<ol> <ol>
{{ $currentPage := . }}
{{ range .Site.Menus.nav }} {{ range .Site.Menus.nav }}
<li><a href="{{ .URL }}"{{ if (eq $currentPage.URL .URL) }} class="active"{{ end }}>{{ .Name }}</a></li> <li><a href="{{ .URL }}">{{ .Name }}</a></li>
{{ end }} {{ end }}
</ol> </ol>