Internal templates can now be called with standrad partial function.

This commit is contained in:
Fredrik Jonsson 2025-12-09 15:45:33 +01:00
commit f5408a6355

View file

@ -1,5 +1,5 @@
{{ if $.Param "internalpagination" -}}
{{ template "_internal/pagination.html" . }}
{{ partial "pagination.html" . }}
{{ else -}}
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) -}}
<nav class="pager">