This commit is contained in:
Sami Samhuri 2016-04-15 17:23:31 -07:00
parent c88590abd9
commit c5b42f4243
3 changed files with 11 additions and 2 deletions

View file

@ -54,7 +54,15 @@ function compile_rss() {
function munge_html() {
for FILE in "$TARGET"/*.html "$TARGET"/posts/*/*/*.html "$TARGET"/posts/drafts/*.html "$TARGET"/projects/*.html; do
[[ "${FILE##*/}" = "index.html" ]] && continue
FILENAME="${FILE##*/}"
case "$FILENAME" in
index.html)
continue
;;
missing.html)
continue
;;
esac
# make posts available without an .html extension
FILE_DIR="${FILE%.html}"

View file

@ -1 +0,0 @@
<p align="center">four oh four</p>

1
public/404.md Symbolic link
View file

@ -0,0 +1 @@
missing.md

1
public/missing.md Normal file
View file

@ -0,0 +1 @@
<p align="center">four oh four</p>