{{ range .Site.Menus.main.ByWeight }} {{ .Name }} {{ end }} Email RSS {{ $pageLang := .Page.Lang }} {{ if .IsTranslated }} {{ range .Translations }} {{ if ne $pageLang .Lang }} {{ .Language.LanguageName }} {{ end }} {{ end }} {{ else if not .Site.Params.hideUntranslated }} {{ .Language.LanguageName }} {{ end }}