diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/posts/list.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/posts/list.xml b/layouts/posts/list.xml index 7a4157f..17e054b 100644 --- a/layouts/posts/list.xml +++ b/layouts/posts/list.xml @@ -2,7 +2,7 @@ {{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} {{- $pages := slice -}} {{- range .Sections.Reverse -}} -{{- $pages = (append $pages .RegularPages) }} +{{- $pages = (append $pages (where .RegularPages "Draft" false)) }} {{- end -}} {{- $limit := .Site.Config.Services.RSS.Limit -}} {{- if ge $limit 1 -}} |