From 76597ea394b90743251692c97564b7dbe07c8338 Mon Sep 17 00:00:00 2001 From: somrat Date: Mon, 18 Nov 2019 11:24:27 +0600 Subject: [PATCH] modified navigation and config file for language issue --- exampleSite/config.toml | 7 +++---- layouts/partials/navigation.html | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8fc19c5..c2698cd 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -5,8 +5,9 @@ baseURL = "https://examplesite.com/" theme = "dot" # site title title = "Dot" -# disable language switch selection box -disableLanguageSwitchingButton = true +# default content language +defaultContentLanguage = "en" +defaultContentLanguageInSubdir = true ############################# Default Parameters ########################## [params] @@ -91,8 +92,6 @@ link = "#" weight = 4 - - # banner [Languages.en.params.banner] title = "Support Center & Knowledge base" diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index 449c845..51ded8f 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -1,5 +1,5 @@