hugo/tpl/transform
Bjørn Erik Pedersen 33c0938cd5 Add build time math rendering
While very useful on its own (and combined with the passthrough render hooks), this also serves as a proof of concept of using WASI (WebAssembly System Interface) modules in Hugo.

This will be marked _experimental_ in the documentation. Not because it will be removed or changed in a dramatic way, but we need to think a little more how to best set up/configure similar services, define where these WASM files gets stored, maybe we can allow user provided WASM files plugins via Hugo Modules mounts etc.

See these issues for more context:

* https://github.com/gohugoio/hugo/issues/12736
* https://github.com/gohugoio/hugo/issues/12737

See #11927
2024-08-09 17:18:37 +02:00
..
init.go tpl/transform: Add transform.XMLEscape template function 2023-11-27 10:52:33 +01:00
remarshal.go all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
remarshal_test.go deps: Update github.com/pelletier/go-toml/v2 v2.0.2 => v2.0.4 2022-08-26 18:30:46 +02:00
transform.go Add build time math rendering 2024-08-09 17:18:37 +02:00
transform_integration_test.go Add build time math rendering 2024-08-09 17:18:37 +02:00
transform_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
unmarshal.go Add build time math rendering 2024-08-09 17:18:37 +02:00
unmarshal_test.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00