hugoWebsite/layouts/partials/menu-url.html

14 lines
276 B
HTML
Raw Normal View History

2023-10-08 23:51:01 +02:00
{{- if eq .lang "en" -}}
{{- with .menu.url_en -}}
{{- relURL . -}}
{{- else -}}
{{- .menu.URL | absLangURL -}}
{{- end -}}
{{- else -}}
{{- with .menu.url_de -}}
{{- relURL . -}}
{{- else -}}
{{- .menu.URL | absLangURL -}}
{{- end -}}
{{- end -}}