hugo/tpl/tplimpl/embedded
Joe Mooring 73483d0f9e
tpl: Add a terse pagination template variant to improve performance
These calls are equivalent:

{{ template "_internal/pagination.html" . }}
{{ template "_internal/pagination.html" (dict "page" .) }}
{{ template "_internal/pagination.html" (dict "page" . "format" "default") }}

To use an alternate format:

{{ template "_internal/pagination.html" (dict "page" . "format" "terse") }}

Fixes #8599
2021-06-08 10:41:21 +02:00
..
generate all: Fix minor typos 2020-12-16 12:11:32 +01:00
templates tpl: Add a terse pagination template variant to improve performance 2021-06-08 10:41:21 +02:00
.gitattributes tpl/tplimpl: Make the autogenerated templates collapsed in PRs 2018-08-23 22:03:43 +02:00
README.md tpl: Fix golint godoc issues 2018-09-07 08:25:51 +02:00
templates.autogen.go tpl: Add a terse pagination template variant to improve performance 2021-06-08 10:41:21 +02:00

Build Templates

If you add or modify any template in the templates folder, you also need to run mage generate to get the Go code in synch.