hugo/config
Bjørn Erik Pedersen ee359df172 Fix upstream Go templates bug with reversed key/value assignment
The template packages are based on go1.20.5 with the patch in befec5ddbbfbd81ec84e74e15a38044d67f8785b  added.

This also includes a security fix that now disallows Go template actions in JS literals (inside backticks).

This will throw an error saying "... appears in a JS template literal".

If you're really sure this isn't a security risk in your case, you can revert to the old behaviour:

```toml
[security]
[security.gotemplates]
allowActionJSTmpl = true
```

See https://github.com/golang/go/issues/59234

Fixes #11112
2023-06-15 23:04:33 +02:00
..
allconfig Fix upstream Go templates bug with reversed key/value assignment 2023-06-15 23:04:33 +02:00
privacy Misc config loading fixes 2021-06-14 17:00:32 +02:00
security Fix upstream Go templates bug with reversed key/value assignment 2023-06-15 23:04:33 +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 Add cache busting config to support Tailwind 3 2023-05-22 14:14:35 +02:00
commonConfig_test.go Add cache busting config to support Tailwind 3 2023-05-22 14:14:35 +02:00
configLoader.go commands,config: Fix typo in log and error messages 2023-06-12 16:45:20 +02:00
configLoader_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
configProvider.go Add hugo.WorkingDir 2023-05-20 17:45:56 +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