mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
73483d0f9e
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 |
||
---|---|---|
.. | ||
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.