Fix config: https://discourse.gohugo.io/t/solved-defaultcontentlanguage-does-not-seem-to-work/4135/8
This commit is contained in:
parent
26a33fde27
commit
ee51627153
@ -3,6 +3,7 @@ baseURL = "https://example.com"
|
|||||||
theme = "hugo-bearcub"
|
theme = "hugo-bearcub"
|
||||||
author = "John Doe"
|
author = "John Doe"
|
||||||
copyright = "John Doe (CC BY 4.0)"
|
copyright = "John Doe (CC BY 4.0)"
|
||||||
|
defaultContentLanguage = "en"
|
||||||
|
|
||||||
# Generate a nice robots.txt for SEO
|
# Generate a nice robots.txt for SEO
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
@ -21,7 +22,6 @@ enableRobotsTXT = true
|
|||||||
|
|
||||||
# Multilingual mode config. More for information about how to setup translation,
|
# Multilingual mode config. More for information about how to setup translation,
|
||||||
# see https://gohugo.io/content-management/multilingual/
|
# see https://gohugo.io/content-management/multilingual/
|
||||||
DefaultContentLanguage = "en"
|
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en]
|
||||||
title = "Example Site"
|
title = "Example Site"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user