{{- /* Override of the theme's language selector: the icon sits inside the link, so the whole chip is clickable. After a theme update, compare with themes/zen/layouts/_partials/language-selector.html. */ -}} {{- $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 -}}