From 8d55b508d3811e07d5fa5dfae08387537cf8e2d0 Mon Sep 17 00:00:00 2001
From: Joe Mooring <joe.mooring@veriphor.com>
Date: Tue, 05 Nov 2024 21:25:22 +0000
Subject: [PATCH] config: improve configuration for example site (#786)

---
 exampleSite/config.toml |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 6a8720f..677912d 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,27 +1,30 @@
 title = "Notre-Dame de Paris"
 baseURL = "https://gohugo-theme-ananke.pages.dev"
-languageCode = "en-us"
 theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]
 resourceDir = "../resources"
 
-DefaultContentLanguage = "en"
-SectionPagesMenu = "main"
-googleAnalytics = ""
+defaultContentLanguage = "en"
+sectionPagesMenu = "main"
 enableRobotsTXT = true
 
+[services.googleAnalytics]
+id = ''
+
 [pagination]
 pagerSize = 3 # this is set low for demonstrating with dummy content. Set to a higher number
 
-[languages]
 [languages.en]
-title = "Ananke"
-weight = 1
 contentDir = "content/en"
+languageCode = 'en-US'
+weight = 1
+title = "Ananke"
 # languageDirection = 'rtl' for Right-To-Left languages
+
 [languages.fr]
-title = "Ananke Fr"
-weight = 2
 contentDir = "content/fr"
+languageCode = 'fr-FR'
+weight = 2
+title = "Ananke Fr"
 
 [sitemap]
 changefreq = "monthly"
@@ -57,7 +60,6 @@
   "linkedin"
 ]
 
-[params.ananke.social]
 [params.ananke.social.facebook]
 username = "patrick.kollitsch"
 # profilelink = "https://www.facebook.com/patrick.kollitsch"

--
Gitblit v1.10.0