fix: failed to decode "languages" error
Renamed empty languages.toml to _languages.toml to avoid this problem
This commit is contained in:
parent
e0f4217353
commit
aab65974e9
6
config/_default/_languages.toml
Normal file
6
config/_default/_languages.toml
Normal file
@ -0,0 +1,6 @@
|
||||
# Rename this file to languages.toml to enable multilingual support
|
||||
[en]
|
||||
languageName = "English"
|
||||
languagedirection = "ltr"
|
||||
title = "Example Site"
|
||||
weight = 1
|
@ -6,7 +6,7 @@ title = "Hugo Theme Stack Starter"
|
||||
|
||||
# Theme i18n support
|
||||
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk, ar
|
||||
DefaultContentLanguage = "en"
|
||||
defaultContentLanguage = "en"
|
||||
|
||||
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
|
||||
# This will make .Summary and .WordCount behave correctly for CJK languages.
|
||||
|
@ -1,7 +0,0 @@
|
||||
# Uncomment this file to enable multilanguage site support
|
||||
|
||||
#[en]
|
||||
#languageName = "English"
|
||||
#languagedirection = "ltr"
|
||||
#title = "Example Site"
|
||||
#weight = 1
|
Loading…
Reference in New Issue
Block a user