Use gt instead of ge

This commit is contained in:
Will Faught
2023-09-23 15:58:59 -07:00
parent 723857a2ee
commit 97447d57dd
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@
{{ $subpages = where $subpages "Params.paige.feed.hide_page" "ne" true }}
{{ if ge $limit 0 }}
{{ if gt $limit 0 }}
{{ $subpages = $subpages | first $limit }}
{{ end }}

View File

@@ -18,7 +18,7 @@
{{ $subpages = where $subpages "Params.paige.feed.hide_page" "ne" true }}
{{ if ge $limit 0 }}
{{ if gt $limit 0 }}
{{ $subpages = $subpages | first $limit }}
{{ end }}