From 8d55b508d3811e07d5fa5dfae08387537cf8e2d0 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Tue, 5 Nov 2024 13:25:22 -0800 Subject: [PATCH] config: improve configuration for example site (#786) Some minor improvements. --- exampleSite/config.toml | 22 ++++++++++++---------- 1 file 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 @@ networks = [ "linkedin" ] -[params.ananke.social] [params.ananke.social.facebook] username = "patrick.kollitsch" # profilelink = "https://www.facebook.com/patrick.kollitsch"