mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
munge drafts
This commit is contained in:
parent
d66715fd8d
commit
a6259b83ea
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue