hugo/tpl
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
..
cast
collections tpl/fmt: Add erroridf template func 2021-06-07 19:11:03 +02:00
compare all: Fix minor typos 2020-12-16 12:11:32 +01:00
crypto
data tpl/fmt: Add erroridf template func 2021-06-07 19:11:03 +02:00
debug
encoding
fmt tpl/fmt: Add erroridf template func 2021-06-07 19:11:03 +02:00
hugo
images
inflect Fix some humanize issues 2021-02-14 18:30:59 +01:00
internal tpl: Add temporary patch to fix template data race 2021-02-18 14:11:48 +01:00
js
lang
math Add math.Max and math.Min 2021-05-28 20:38:45 +02:00
openapi/openapi3 deps: Update getkin/kin-openapi v0.60.0 => v0.61. 2021-04-30 14:27:21 +02:00
os tpl/os: remove 1mb limit for readFile. 2021-01-23 00:39:14 +01:00
partials tpl: Fix metrics hint tracking 2021-01-08 20:01:11 +01:00
path
reflect
resources Add Dart Sass support 2020-12-30 17:32:25 +01:00
safe
site
strings tpl: Fix countwords to handle special chars 2021-05-03 09:10:06 +02:00
templates
time
tplimpl tpl: Add a terse pagination template variant to improve performance 2021-06-08 10:41:21 +02:00
transform tpl: Remove the FuzzMarkdownify func for now 2021-03-30 20:57:31 +02:00
urls all: Fix minor typos 2020-12-16 12:11:32 +01:00
template.go all: Fix minor typos 2020-12-16 12:11:32 +01:00
template_info.go
template_test.go