diff --git a/static/.htaccess b/static/.htaccess new file mode 100644 index 0000000..0d5b38a --- /dev/null +++ b/static/.htaccess @@ -0,0 +1,2 @@ +# own 404 handler +ErrorDocument 404 /404.html diff --git a/update.sh b/update.sh index 8be9a0f..5908bb5 100755 --- a/update.sh +++ b/update.sh @@ -14,5 +14,8 @@ export GIT_COMMIT_SHA=`git rev-parse --verify HEAD` export GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD` ./hugo +# copy .htaccess +cp -f static/.htaccess public + # current date date -Iseconds