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

11 lines
264 B
HTML
Raw Normal View History

2021-01-04 03:29:13 +00:00
<ul id="nav" class="nav justify-content-center">
{{ range .Site.Menus.main }}
<li class="nav-item">
<a class="nav-link" href="{{ .URL }}">
{{ $text := print .Name | safeHTML }}
{{ $text }}
</a>
</li>
{{ end }}
</ul>