diff options
-rw-r--r-- | static/.htaccess | 2 | ||||
-rwxr-xr-x | update.sh | 3 |
2 files changed, 5 insertions, 0 deletions
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 @@ -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 |