diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml index e770f69..13fc17a 100644 --- a/layouts/_default/list.atom.xml +++ b/layouts/_default/list.atom.xml @@ -3,7 +3,7 @@ {{- $title := .Section | humanize -}} {{- if .IsHome }} {{- $title = "All content" -}} - {{- $pages = .Site.RegularPages -}} + {{- $pages = where .Site.RegularPages "Date" "!=" (time "0001-01-01") -}} {{- $period = "hourly" -}} {{ end -}} {{- if eq .Section "notes" -}} diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 086407b..eebc96f 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -13,7 +13,7 @@ {{- if .IsHome }} {{- $period := "hourly" -}} {{- $title = "All content" -}} - {{- $pages = .Site.RegularPages -}} + {{- $pages = where .Site.RegularPages "Date" "!=" (time "0001-01-01") -}} {{- $mins = "60" -}} {{ end -}} {{- printf "" | safeHTML }}