valor/layouts/partials/nav.html

9 lines
171 B
HTML

<nav>{{ range .Site.Sections }}
<a href="{{.Permalink}}">
<h2>{{.Title}}</h2>
{{if .Params.icon}}
<img src="{{.Params.icon}}">
{{end}}
</a>
{{end}}
</nav>