Bjørn Erik Pedersen
d90e37e0c6
all: Format code with gofumpt
...
See https://github.com/mvdan/gofumpt
2020-12-03 13:12:58 +01:00
Elliott Sales de Andrade
7791a804e2
deps: Update to latest emoji package
2020-04-08 12:56:14 +02:00
Jamie Tanna
c466b88c99
deps: Upgrade to latest version of emoji dependency
...
To add support for new emojis in Hugo, we need to upgrade our internal
dependency on the emoji package.
Note that we also need to update our tests, as the underlying emoji that
is rendered has changed.
Follow-up to #6391 . (170f18d935
and
2df5d202c6
)
2019-10-05 22:58:53 +02:00
Bjørn Erik Pedersen
822dc627a1
tpl/transform: Add transform.Unmarshal func
...
Fixes #5428
2018-12-23 10:02:42 +01:00
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