Αυτό το commit περιλαμβάνεται σε:
infl00p 2024-07-01 18:43:24 +03:00
γονέας ea9d107097
commit 8373d76ae9
9 αρχεία άλλαξαν με 22 προσθήκες και 3 διαγραφές

@ -1,7 +1,7 @@
{{- $pctx := . -}}
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
{{- $pages := slice -}}
{{- $pages = $pctx.RegularPages -}}
{{- $pages = $pctx.Pages -}}
{{- $limit := 10 -}}
{{- if ge $limit 1 -}}
{{- $pages = $pages | first $limit -}}