diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/allconfig/allconfig.go | 3 | ||||
-rw-r--r-- | config/allconfig/load.go | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/config/allconfig/allconfig.go b/config/allconfig/allconfig.go index 21d12b0c7..469a164cf 100644 --- a/config/allconfig/allconfig.go +++ b/config/allconfig/allconfig.go @@ -538,6 +538,9 @@ type RootConfig struct { // Note that this currently only works for English, but you can provide your own title in the content file's front matter. PluralizeListTitles bool + // Whether to capitalize automatic page titles, applicable to section, taxonomy, and term pages. + CapitalizeListTitles bool + // Make all relative URLs absolute using the baseURL. // <docsmeta>{"identifiers": ["baseURL"] }</docsmeta> CanonifyURLs bool diff --git a/config/allconfig/load.go b/config/allconfig/load.go index cb267422f..8675ced23 100644 --- a/config/allconfig/load.go +++ b/config/allconfig/load.go @@ -189,6 +189,7 @@ func (l configLoader) applyDefaultConfig() error { "menus": maps.Params{}, "disableLiveReload": false, "pluralizeListTitles": true, + "CapitalizeListTitles": true, "forceSyncStatic": false, "footnoteAnchorPrefix": "", "footnoteReturnLinkContents": "", |