diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9296d15..69a334a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -8,6 +8,7 @@ secondaryColor = "#f9f9f9" textColor = "#636363" textColorDark = "#242738" whiteColor = "#ffffff" +disableLanguageSwitchingButton = false [Languages] diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index 13db0c6..2571cb9 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -43,6 +43,7 @@ {{ end }} + {{- if and .Site.IsMultiLingual (not .Site.Params.DisableLanguageSwitchingButton)}} + {{ end }} \ No newline at end of file