mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
@@ -1,5 +1,5 @@
|
||||
{{- $pages := .Pages -}}
|
||||
{{- if .IsHome -}}{{- $pages = .Site.RegularPages -}}{{- end -}}
|
||||
{{- $pages := "" -}}
|
||||
{{- if .IsHome -}}{{- $pages = .Site.RegularPages -}}{{- else -}}{{- $pages = .Pages -}}{{- end -}}
|
||||
{{- $limit := .Site.Config.Services.RSS.Limit -}}
|
||||
{{- if ge $limit 1 -}}
|
||||
{{- $pages = $pages | first $limit -}}
|
||||
|
Reference in New Issue
Block a user