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

12 lines
300 B
HTML
Raw Permalink 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 }}">
2022-01-12 06:09:31 +00:00
{{ print .Pre | safeHTML }}
2021-01-04 03:29:13 +00:00
{{ $text := print .Name | safeHTML }}
{{ $text }}
</a>
</li>
{{ end }}
</ul>