website/layouts/partials/nav.html

32 lines
729 B
HTML
Raw Normal View History

2020-09-14 16:24:02 +02:00
<nav>
<div class="container">
<section class="website-name">
<a href="{{ .Site.BaseURL }}">Vrifox</a>
</section>
<section class="website-nav">
<ul>
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<li>
<a href="{{ .URL }}">
{{ .Pre }}
<span>{{ .Name }}</span>
</a>
</li>
{{ end }}
2020-09-23 18:17:31 +02:00
<li>
<span class="seperator">&middot;</span>
</li>
2020-09-14 16:24:02 +02:00
{{ range .Site.Menus.links }}
<li>
<a href="{{ .URL }}">
{{ .Pre }}
<span>{{ .Name }}</span>
</a>
</li>
{{ end }}
</ul>
</section>
</div>
</nav>