Use gt instead of ge
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
@@ -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 }}
|
||||
|
||||
|
Reference in New Issue
Block a user