website/themes/notebook/layouts/partials/navbar.html

12 lines
300 B
HTML

<ul id="nav" class="nav justify-content-center">
{{ range .Site.Menus.main }}
<li class="nav-item">
<a class="nav-link" href="{{ .URL }}">
{{ print .Pre | safeHTML }}
{{ $text := print .Name | safeHTML }}
{{ $text }}
</a>
</li>
{{ end }}
</ul>