00dbd49a94
* Related issue: #53
12 lines
366 B
HTML
12 lines
366 B
HTML
{{- range .Site.Menus.main }}
|
|
{{- if .HasChildren }}
|
|
<a href="{{ .URL | absLangURL }}" class="has-children">{{ .Name }}</a>
|
|
<span class="sub-menu">
|
|
{{- range .Children }}
|
|
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
|
{{- end }}
|
|
</span>
|
|
{{- else }}
|
|
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
|
{{- end }}
|
|
{{- end }}
|