nav in header instead of ul

This commit is contained in:
la Fleur 2020-11-13 17:39:56 +01:00
parent 7a2a276afa
commit fd97c6c18d
1 changed files with 5 additions and 7 deletions

View File

@ -6,14 +6,12 @@
{{ with $.Site.Params.Description }} {{ with $.Site.Params.Description }}
{{ . }} {{ . }}
{{ end }} {{ end }}
<ul class="links"> <nav>
{{ range $.Site.Sections }} {{ range $.Site.Sections }}
<li class="link"> <a href="{{ .Permalink }}" class="{{ if eq $currentPage.Section .Section }}exposed{{ end }}">
<a href="{{ .Permalink }}" class="{{ if eq $currentPage.Section .Section }}exposed{{ end }}"> {{ .Title | markdownify }}
{{ .Title | markdownify }} > </a>
</a>
</li>
{{ end }} {{ end }}
</ul> </nav>
</header> </header>