blog/themes/bbb/layouts/partials/header.html

15 lines
408 B
HTML
Raw Permalink Normal View History

<div id="nav-border" class="container">
<nav id="menu" class="nav">
{{ range .Site.Menus.main }}
<a class="nav-link" href="{{ .URL }}">
{{ if .Pre }}
{{ $icon := printf "<i data-feather=\"%s\"></i> " .Pre | safeHTML }}
{{ $icon }}
{{ end }}
{{ $text := print .Name | safeHTML }}
{{ $text }}
</a>
{{ end }}
</nav>
</div>