Internal templates can now be called with standrad partial function.
This commit is contained in:
parent
d41d8cfbdf
commit
f5408a6355
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{{ if $.Param "internalpagination" -}}
|
||||
{{ template "_internal/pagination.html" . }}
|
||||
{{ partial "pagination.html" . }}
|
||||
{{ else -}}
|
||||
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) -}}
|
||||
<nav class="pager">
|
||||
|
|
|
|||
Loading…
Reference in a new issue