1b2288cf32af

Remove draft entries from RSS too
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 18 Apr 2022 21:24:25 -0400
parents edeb31bc40cc
children a55e0be16f56
branches/tags (none)
files generate.lisp

Changes

--- a/generate.lisp	Mon Apr 18 21:22:30 2022 -0400
+++ b/generate.lisp	Mon Apr 18 21:24:25 2022 -0400
@@ -431,7 +431,7 @@
   (render "build/rss.xml"
       (:times (mapcar #'modified-timestamp entries)
        :mode :xml)
-    (t/rss entries)))
+    (t/rss (remove-if #'draft (remove-if #'hidden entries)))))
 
 
 ;;;; Toplevel -----------------------------------------------------------------