Bjørn Erik Pedersen
ce524d0b5e
Add a page template func
...
Fixes #9339
2023-02-25 19:53:18 +01:00
Bjørn Erik Pedersen
2fb40ece5d
tpl/strings: Add findRESubmatch
...
Fixes #10594
2023-01-17 12:14:11 +01:00
Bjørn Erik Pedersen
7d5e3ab8a8
tpl: Misco GoDoc improvements
2022-12-03 11:54:33 +01:00
Bjørn Erik Pedersen
b80853de90
all: gofmt -w -r 'interface{} -> any' .
...
Updates #9687
2022-03-17 22:03:27 +01:00
Bjørn Erik Pedersen
12d00d288c
docs: Regenerate docs helper
2022-02-28 08:59:57 +01:00
Bjørn Erik Pedersen
6c70e1f22f
Fix error handling for the time func alias
...
Fixes #8835
2021-08-01 13:39:30 +02:00
Bjørn Erik Pedersen
d90e37e0c6
all: Format code with gofumpt
...
See https://github.com/mvdan/gofumpt
2020-12-03 13:12:58 +01:00
Cameron Moore
f6f22ad944
tpl: Fix golint godoc issues
2018-09-07 08:25:51 +02:00
Bjørn Erik Pedersen
46ac745374
all: Fix spelling
...
And some other minor issues.
2017-08-07 20:19:24 +02: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
cff2f31334
tpl: Add some GoDoc info to template func docs
...
Closes #3418
2017-05-04 10:46:19 +02: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
c5373efcf0
tpl: Add TemplateFuncsNamespaceRegistry
...
As a first step to remove the hard ties between `tplimpl` and the different namespace packages.
The `lang` package is used as the first example use case.
See #3042
2017-05-01 15:13:41 +02:00