08283802d226

Hide draft pages
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 18 Apr 2022 21:21:52 -0400
parents 3ba047db7a50
children 5510909795e6
branches/tags (none)
files content/photography/iceland.markdown content/photography/plants.markdown content/photography/scotland.markdown content/resume.markdown generate.lisp

Changes

--- a/content/photography/iceland.markdown	Mon Apr 18 21:19:44 2022 -0400
+++ b/content/photography/iceland.markdown	Mon Apr 18 21:21:52 2022 -0400
@@ -1,6 +1,6 @@
 (:title "Iceland"
  :date "2017-07-28T00:00:00Z"
- :draft false
+ :draft nil
  :gallery "iceland"
  :snip "Two years (plus a bit) in Iceland.")
 
--- a/content/photography/plants.markdown	Mon Apr 18 21:19:44 2022 -0400
+++ b/content/photography/plants.markdown	Mon Apr 18 21:21:52 2022 -0400
@@ -1,6 +1,6 @@
 (:title "Plants"
  :date "2017-07-28T00:00:00Z"
- :draft false
+ :draft nil
  :gallery "plants"
  :snip "Photographs of plants, inspired by Blossfeldt.")
 
--- a/content/photography/scotland.markdown	Mon Apr 18 21:19:44 2022 -0400
+++ b/content/photography/scotland.markdown	Mon Apr 18 21:21:52 2022 -0400
@@ -1,6 +1,6 @@
 (:title "Scotland"
  :date "2017-07-28T00:00:00Z"
- :draft false
+ :draft nil
  :gallery "scotland"
  :snip "Two weeks in Scotland.")
 
--- a/content/resume.markdown	Mon Apr 18 21:19:44 2022 -0400
+++ b/content/resume.markdown	Mon Apr 18 21:21:52 2022 -0400
@@ -1,6 +1,6 @@
 (:title "Résumé"
  :date "2020-01-05T22:30:00Z"
- :draft false)
+ :draft nil)
 
 I'm Steve. I'm a programmer currently living in Rochester, NY.
 
--- a/generate.lisp	Mon Apr 18 21:19:44 2022 -0400
+++ b/generate.lisp	Mon Apr 18 21:21:52 2022 -0400
@@ -406,7 +406,7 @@
 (defun page/blog/index (entries)
   (render "build/blog/index.html"
       (:times (mapcar #'modified-timestamp entries))
-    (t/blog/index (remove-if #'hidden entries))))
+    (t/blog/index (remove-if #'draft (remove-if #'hidden entries)))))
 
 (defun page/photography/index (galleries)
   (render "build/photography/index.html"