13 lines
366 B
HTML
13 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 }}
|