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 }}
{{ . }}
{{ end }}
<ul class="links">
<nav>
{{ range $.Site.Sections }}
<li class="link">
<a href="{{ .Permalink }}" class="{{ if eq $currentPage.Section .Section }}exposed{{ end }}">
{{ .Title | markdownify }} >
</a>
</li>
<a href="{{ .Permalink }}" class="{{ if eq $currentPage.Section .Section }}exposed{{ end }}">
{{ .Title | markdownify }}
</a>
{{ end }}
</ul>
</nav>
</header>