hugo/tpl/tplimpl
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
..
embedded tpl: Add a terse pagination template variant to improve performance 2021-06-08 10:41:21 +02:00
shortcodes.go
shortcodes_test.go
template.go Make the shortcode template lookup for output formats stable 2021-04-23 15:04:35 +02:00
template_ast_transformers.go
template_ast_transformers_test.go
template_errors.go
template_funcs.go
template_funcs_test.go
template_info_test.go
template_test.go
templateFuncster.go
templateProvider.go