{{ if .Site.IsMultiLingual }} {{ $langs := dict }} {{ range .Site.Home.AllTranslations }} {{ $langs = merge $langs (dict .Language.Lang .) }} {{ end }} {{ range .Translations }} {{ $langs = merge $langs (dict .Language.Lang .) }} {{ end }}