aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index bdb1f40..2cb89be 100755
--- a/build.sh
+++ b/build.sh
@@ -282,6 +282,16 @@ EOF
done
cd ..
+echo "[build] creating 404 page..."
+tee ./tmp/temp-404-page.html > /dev/null << EOF
+ <h1>not found :(</h1>
+ <span>This page does not exist on this server. <a href="/">Return home</a>.</span>
+EOF
+cat ./con/header.html \
+ ./tmp/temp-404-page.html \
+ ./con/footer.html \
+ > ./web/404.html
+
echo "[build] copying static files..."
cp ./con/style.css ./web/style.css
cp ./con/icon.png ./web/icon.png