This commit is contained in:
zoe 2022-05-27 17:29:31 +02:00
parent 41bfe7db62
commit a238bb327f
2 changed files with 3 additions and 4 deletions

View file

@ -9,12 +9,10 @@
<article id="content" class="colorswitch">
{{ .Content }}
<p>
<nav>
{{ $currentPage := . }}
{{ range .Site.Menus.nav }}
<a class="hamburger-nav-item{{if or ($currentPage.IsMenuCurrent "nav" .) ($currentPage.HasMenuCurrent "nav" .) }} active{{end}} colorswitch" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }} {{ .Title }}</a>
{{ end }}
</nav>
</p>
</article>
</div>