From ee51627153775f76ab2bf4078ef1aef5d8b1bcf5 Mon Sep 17 00:00:00 2001 From: "C. Lente" <7017340+clente@users.noreply.github.com> Date: Mon, 13 Feb 2023 16:25:24 -0300 Subject: [PATCH] Fix config: https://discourse.gohugo.io/t/solved-defaultcontentlanguage-does-not-seem-to-work/4135/8 --- exampleSite/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"