hugo/config/security
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
..
docshelper.go Add some basic security policies with sensible defaults 2021-12-16 09:40:22 +01:00
securityConfig.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
securityConfig_test.go config/security: Add O\w+ (e.g. GOROOT) to the default allowed list 2023-01-17 10:52:51 +01:00
whitelist.go Correct typos in Go comments 2023-03-02 16:32:32 +01:00
whitelist_test.go Add some basic security policies with sensible defaults 2021-12-16 09:40:22 +01:00