hugo/tpl
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
..
cast Add hugo.WorkingDir 2023-05-20 17:45:56 +02:00
collections tpl/collections: Fix append when appending a slice to a slice of slices 2023-06-14 20:18:54 +02:00
compare
crypto
css
data
debug
diagrams
encoding
fmt
hugo
images
inflect
internal Fix upstream Go templates bug with reversed key/value assignment 2023-06-15 23:04:33 +02:00
js
lang
math tpl/math: Allow variadic math functions to take slice args, add math.Product, math.Sum 2023-06-13 20:00:00 +02:00
openapi
os
page
partials
path
reflect
resources
safe
site
strings
templates
time
tplimpl Fix upstream Go templates bug with reversed key/value assignment 2023-06-15 23:04:33 +02:00
transform markup: Fix typo in function and struct names 2023-06-01 17:59:44 +02:00
urls tpl/urls: Return empty string when JoinPath has zero args 2023-05-20 11:14:18 +02:00
template.go Fix upstream Go templates bug with reversed key/value assignment 2023-06-15 23:04:33 +02:00
template_info.go
template_test.go