Compare commits
2 commits
8af9ecc791
...
e33bf7b8c5
Author | SHA1 | Date | |
---|---|---|---|
valberg | e33bf7b8c5 | ||
Benjamin Bach | e939f07c03 |
|
@ -1,7 +1,8 @@
|
||||||
<nav>
|
<nav>
|
||||||
<ol>
|
<ol>
|
||||||
|
{{ $currentPage := . }}
|
||||||
{{ range .Site.Menus.nav }}
|
{{ range .Site.Menus.nav }}
|
||||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
<li><a href="{{ .URL }}"{{ if (eq $currentPage.URL .URL) }} class="active"{{ end }}>{{ .Name }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue