valor/layouts/partials/nav.html

10 lines
171 B
HTML
Raw Normal View History

2022-08-17 14:47:54 -04:00
<nav>{{ range .Site.Sections }}
<a href="{{.Permalink}}">
<h2>{{.Title}}</h2>
2022-08-17 14:47:54 -04:00
{{if .Params.icon}}
2022-09-02 07:03:53 -04:00
<img src="{{.Params.icon}}">
2022-08-17 14:47:54 -04:00
{{end}}
</a>
{{end}}
</nav>