add .htaccess
This commit is contained in:
parent
536fa7b3a5
commit
dda4846c0d
2
static/.htaccess
Normal file
2
static/.htaccess
Normal file
|
@ -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`
|
export GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD`
|
||||||
./hugo
|
./hugo
|
||||||
|
|
||||||
|
# copy .htaccess
|
||||||
|
cp -f static/.htaccess public
|
||||||
|
|
||||||
# current date
|
# current date
|
||||||
date -Iseconds
|
date -Iseconds
|
||||||
|
|
Loading…
Reference in a new issue