hugo/config
Bjørn Erik Pedersen 241b21b0fd Create a struct with all of Hugo's config options
Primary motivation is documentation, but it will also hopefully simplify the code.

Also,

* Lower case the default output format names; this is in line with the custom ones (map keys) and how
it's treated all the places. This avoids doing `stringds.EqualFold` everywhere.

Closes #10896
Closes #10620
2023-05-16 18:01:29 +02:00
..
allconfig Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
privacy Misc config loading fixes 2021-06-14 17:00:32 +02:00
security Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
services Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
testconfig Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
commonConfig.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
commonConfig_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
configLoader.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
configLoader_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
configProvider.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
configProvider_test.go Misc config loading fixes 2021-06-14 17:00:32 +02:00
defaultConfigProvider.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
defaultConfigProvider_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
docshelper.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
env.go all: Use strings.Cut 2022-03-21 09:32:35 +01:00
env_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
namespace.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
namespace_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00