{{ $link := .Get 0 | lower | safeHTML }}{{ $link := replace $link ":" "/" }}{{ $url := (print ( relLangURL $link ) "/") }}
{{- if .Get 1 }}{{ $txt := .Get 1 }}
{{ $txt }}
{{ else }}{{ with .Site.GetPage $link }}{{ $title := .Title }}
{{ $title }}
{{ end }}
{{ end -}}