mirror of
https://github.com/PrivSec-dev/privsec.dev
synced 2025-02-20 18:31:35 -05:00
fix navbar prev/next links
This commit is contained in:
parent
f3e2c3e801
commit
30ad814c62
@ -1,4 +1,4 @@
|
|||||||
{{- $pages := where site.RegularPages.ByTitle "Type" "in" site.Params.mainSections }}
|
{{- $pages := .CurrentSection.RegularPages.ByTitle }}
|
||||||
{{- if and (gt (len $pages) 1) (in $pages . ) }}
|
{{- if and (gt (len $pages) 1) (in $pages . ) }}
|
||||||
<nav class="paginav">
|
<nav class="paginav">
|
||||||
{{- with $pages.Next . }}
|
{{- with $pages.Next . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user