gosora/templates/widget_menu.html

6 lines
236 B
HTML

<div class="rowblock rowhead">
<div class="rowitem"><h1>{{.Name}}</h1></div>
</div>
<nav class="rowblock">{{range .MenuList}}
<div class="rowitem{{if .Compact}} datarow{{end}}"><a href="{{.Location}}">{{.Text}}</a></div>
{{end}}</nav>