Repository: gohugoio/hugo (language: go)

Issue:
Should not `CapitalizeListTitles` be `capitalizeListTitles`
### What version of Hugo are you using (`hugo version`)?

`hugo v0.123.3-a75a659f6fc0cb3a52b2b2ba666a81f79a459376+extended darwin/arm64 BuildDate=2024-02-23T17:09:20Z VendorInfo=brew`

### Does this issue reproduce with the latest release?

Yes, it is a new setting in v0.123.3

The new setting to set if list titles should be capitalised got the first character uppercase. All other settings have it lowercase.

When you use the setting the case seems not to matter so this is a very minor issue. Ii just look a bit of as seen in the code below.

https://github.com/gohugoio/hugo/blob/36bf3cb98cf8d7a8519df473196ee73b9d014244/config/allconfig/load.go#L190-L194


Discussion / hints:

Fix patch:
diff --git a/config/allconfig/load.go b/config/allconfig/load.go
index 8675ced231e..b24655ebcfd 100644
--- a/config/allconfig/load.go
+++ b/config/allconfig/load.go
@@ -189,7 +189,7 @@ func (l configLoader) applyDefaultConfig() error {
 		"menus":                                maps.Params{},
 		"disableLiveReload":                    false,
 		"pluralizeListTitles":                  true,
-		"CapitalizeListTitles":                 true,
+		"capitalizeListTitles":                 true,
 		"forceSyncStatic":                      false,
 		"footnoteAnchorPrefix":                 "",
 		"footnoteReturnLinkContents":           "",


Test patch: