blob: a0832a8de19907b0a9823fbc3a4385e786a87080 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{{ if .Context.Site.Menus.main }}
{{ range .Context.Site.Menus.main }}
<icon-navigator hidden>
<icon-button>
<a id="nav-middle-{{ path.Base .Identifier }}" href="{{ .URL | absURL }}">
{{ with .Identifier }}
{{ $icon := print (partial "function-paths-static.html") "/icons/" . ".svg" }}
{{ safeHTML (readFile $icon) }}
{{ end }}
<small>{{ delimit (first 1 (split .Name " ")) " " }}</small>
</a>
</icon-button>
</icon-navigator>
{{ end }}
{{ end }}
|