jlelse
/
Indiego
Archived
1
Fork 0
This repository has been archived on 2020-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Indiego/layouts/partials/menu.html

6 lines
210 B
HTML

{{ if .Site.Menus.main }}
<nav>
{{ $first := true }}
{{ range sort .Site.Menus.main }}{{ if ne $first true }} &bull; {{ end }}<a href="{{ .URL }}">{{ .Name }}</a>{{ $first = false }}{{ end }}
</nav>
{{ end }}