mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 18:15:31 +00:00
feat(layouts): hide pager on root pages
This commit is contained in:
1 parent
ef8a34e33a
commit
9916ea5d2a
1 file changed
+1
-1
@@ -1,5 +1,5 @@
|
||||
{{ if .Params.pager | default true }}
|
||||
{{ if or .NextInSection .PrevInSection }}
|
||||
{{ if and .Section (or .NextInSection .PrevInSection) }}
|
||||
{{ $next := .NextInSection }}
|
||||
{{ $prev := .PrevInSection }}
|
||||
{{ if (eq (.Scratch.Get "invert_pager") true) | default .Params.invert_pager | default false }}
|
||||
|
||||
Reference in new issue
Block a user