projects
/
thetarpit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61943a5
)
blog: Allow nil draft lists
author
Lucian Mogosanu
<lucian.mogosanu@gmail.com>
Wed, 6 Mar 2019 18:18:39 +0000
(20:18 +0200)
committer
Lucian Mogosanu
<lucian.mogosanu@gmail.com>
Wed, 6 Mar 2019 18:18:51 +0000
(20:18 +0200)
Should really allow nil anylists, but assert forces dumbo to reread
code.
blog.lisp
patch
|
blob
|
history
diff --git
a/blog.lisp
b/blog.lisp
index
e0e3e5b
..
b08ba39
100644
(file)
--- a/
blog.lisp
+++ b/
blog.lisp
@@
-103,7
+103,8
@@
*tags* nil))
(let ((postlist (directory
(concatenate 'string *lbs-base* relative-wildcard))))
- (assert (not (null postlist)))
+ (if (not draft)
+ (assert (not (null postlist))))
(dolist (x postlist)
(let* ((relative-pathname (post-relative-pathname x))
(blist (tlbs-make-blist relative-pathname))