Bjørn Erik Pedersen
|
d382502d6d
|
tpl/transform: Add template func for TOML/JSON/YAML docs examples conversion
Usage:
```html
{{ "title = \"Hello World\"" | transform.Remarshal "json" | safeHTML }}
```
Fixes #4389
|
2018-02-10 12:36:31 +01:00 |
|
Bjørn Erik Pedersen
|
d8717cd4c7
|
all: Update import paths to gohugoio/hugo
|
2017-06-13 18:42:45 +02:00 |
|
Bjørn Erik Pedersen
|
1f9e8dcc60
|
tpl: Make the Namespace func signature explicit
This makes it cleaner and avoids breaking client code, such as the docs helper JSON generator.
|
2017-05-20 11:34:38 +03:00 |
|
Bjørn Erik Pedersen
|
690b0f8ff5
|
tpl: Add docshelper for template funcs
And fix some other minor related issues.
Updates #3418
|
2017-05-01 21:44:15 +02:00 |
|
Bjørn Erik Pedersen
|
0e2260421e
|
tpl: Fix the remaining template funcs namespace issues
See #3042
|
2017-05-01 15:13:41 +02:00 |
|
Bjørn Erik Pedersen
|
55f90a3a0d
|
tpl/transform: Make it a package that stands on its own
See #3042
|
2017-05-01 15:13:41 +02:00 |
|