fix: failed to decode "languages" error

Renamed empty languages.toml to _languages.toml to avoid this problem
This commit is contained in:
Jimmy Cai 2023-07-12 10:32:28 +00:00
parent e0f4217353
commit aab65974e9
3 changed files with 7 additions and 8 deletions

View 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

View file

@ -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.

View file

@ -1,7 +0,0 @@
# Uncomment this file to enable multilanguage site support
#[en]
#languageName = "English"
#languagedirection = "ltr"
#title = "Example Site"
#weight = 1