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
templates
.gitattributes
README.md
templates.autogen.go

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.