{{- /* Keep the translation icon inside the link so the entire language row is clickable. Compare with the theme's language-selector.html after updating Zen. */ -}} {{- $icon := ` ` -}} {{ if .IsTranslated -}} {{ range .Translations -}} {{ $icon | safeHTML }}{{ .Language.Label }} {{ end -}} {{ else -}} {{ range hugo.Sites -}} {{ if ne $.Language.Name .Language.Name -}} {{ $icon | safeHTML }}{{ .Language.Label }} {{ end -}} {{ end -}} {{ end -}}