From a6259b83ea894e9c822ccd0b3704a3b5805f69a1 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sun, 19 Apr 2015 11:14:53 -0700 Subject: [PATCH] munge drafts --- bin/compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compile.sh b/bin/compile.sh index c0a0aea..0f49363 100755 --- a/bin/compile.sh +++ b/bin/compile.sh @@ -34,7 +34,7 @@ function compile_rss() { } function munge_html() { - for FILE in "$TARGET"/*.html "$TARGET"/posts/*/*/*.html "$TARGET"/projects/*.html; do + for FILE in "$TARGET"/*.html "$TARGET"/posts/*/*/*.html "$TARGET"/posts/drafts/*.html "$TARGET"/projects/*.html; do [[ "${FILE##*/}" = "index.html" ]] && continue # make posts available without an .html extension