added support for multilingual 404 page redirects

This commit is contained in:
Somrat
2024-04-15 10:05:35 +06:00
parent 5fada5e967
commit f994a8b6e6
5 changed files with 17 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ 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 = false
defaultContentLanguageInSubdir = true
########################### Services #############################
[services]