feat(layouts): hide pager on root pages

This commit is contained in:
George Cushen committed 2026-02-18 19:22:19 +00:00
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 }}