aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC. Lente <7017340+clente@users.noreply.github.com>2023-02-13 16:25:24 -0300
committerC. Lente <7017340+clente@users.noreply.github.com>2023-02-13 16:25:24 -0300
commitee51627153775f76ab2bf4078ef1aef5d8b1bcf5 (patch)
tree35763bd23504313c9de79ef9c0540d674963e348
parent26a33fde27adc624c1722caf8a8bfcbf7ec367a3 (diff)
downloadhugo-bearcub-ee51627153775f76ab2bf4078ef1aef5d8b1bcf5.tar.gz
hugo-bearcub-ee51627153775f76ab2bf4078ef1aef5d8b1bcf5.tar.bz2
Fix config: https://discourse.gohugo.io/t/solved-defaultcontentlanguage-does-not-seem-to-work/4135/8
-rw-r--r--exampleSite/config.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index e2f18f7..482e936 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -3,6 +3,7 @@ baseURL = "https://example.com"
theme = "hugo-bearcub"
author = "John Doe"
copyright = "John Doe (CC BY 4.0)"
+defaultContentLanguage = "en"
# Generate a nice robots.txt for SEO
enableRobotsTXT = true
@@ -21,7 +22,6 @@ enableRobotsTXT = true
# Multilingual mode config. More for information about how to setup translation,
# see https://gohugo.io/content-management/multilingual/
-DefaultContentLanguage = "en"
[languages]
[languages.en]
title = "Example Site"