summaryrefslogtreecommitdiff
path: root/entry
diff options
context:
space:
mode:
Diffstat (limited to 'entry')
-rw-r--r--entry4
1 files changed, 2 insertions, 2 deletions
diff --git a/entry b/entry
index b42d378..d5c02a8 100644
--- a/entry
+++ b/entry
@@ -9,10 +9,10 @@
after () { test -z "${2##*$1*}" && echo -n "${2#*$1}"; }
startswith() { case $2 in "$1"*) true;; *) false;; esac; }
if test -z "$1"
-then cat index.html
+then cat data/index.html
elif startswith "article/" "$1"
then cd article; ./entry "$(after / $1)"
elif startswith "admin/" "$1"
then cd admin; ./entry "$(after / $1)"
-else cat 404.html
+else cat data/404.html
fi