|
<nav class="button-menu">
|
|
{{ range .Site.Menus.main }}
|
|
<a href="{{ .URL }}" title="{{ .Name }}"><button>
|
|
{{ if .Pre }}
|
|
{{ printf "<img src=\"%s\" alt=\"%s\"/>" .Pre .Name | safeHTML }}<br/>
|
|
{{ end }}
|
|
{{ .Name | safeHTML }}
|
|
</button></a>
|
|
{{ end }}
|
|
</nav> |