forked from tsc-vfl/hugo-page
7 lines
333 B
HTML
7 lines
333 B
HTML
{{ range .Site.Menus.main }}
|
|
<div class="level-1"><a href="{{ .URL }}" class="menu-link{{ if $.IsMenuCurrent "main" . }} active{{ end }}">{{ .Title }}</a></div>
|
|
{{ range .Children }}
|
|
<div class="level-2"><a href="{{ .URL }}" class="menu-link{{ if $.IsMenuCurrent "main" .}} active{{ end}}">{{ .Title }}</a></div>
|
|
{{ end }}
|
|
{{ end }}
|