From 2f8cd66481e2ec0835bea8bada644faeca239af5 Mon Sep 17 00:00:00 2001 From: Somrat <58769763+tfsomrat@users.noreply.github.com> Date: Wed, 17 Apr 2024 08:59:55 +0600 Subject: [PATCH] modified hugo.toml comments --- exampleSite/config/_default/module.toml | 2 +- exampleSite/hugo.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/exampleSite/config/_default/module.toml b/exampleSite/config/_default/module.toml index fc960d7..3df4300 100644 --- a/exampleSite/config/_default/module.toml +++ b/exampleSite/config/_default/module.toml @@ -1,6 +1,6 @@ [hugoVersion] extended = true -min = "0.115.2" +min = "0.124.1" [[imports]] path = "github.com/zeon-studio/hugoplate" diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index ea24275..1483456 100755 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -17,7 +17,8 @@ disableLanguages = [ hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage # default language defaultContentLanguage = 'en' -defaultContentLanguageInSubdir = true +# defaultContentLanguageInSubdir need to be true if you want to use the language code as a subdirectory and language specific 404 page +defaultContentLanguageInSubdir = false ########################### Services ############################# [services]