munge drafts

This commit is contained in:
Sami Samhuri 2015-04-19 11:14:53 -07:00
parent d66715fd8d
commit a6259b83ea

View file

@ -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