10 lines
509 B
Makefile
10 lines
509 B
Makefile
all:
|
|
rm -rf public
|
|
hugo --ignoreCache
|
|
cat public/404.html | sed s/404/403/ | sed s/403\ Page\ not\ found/Verboten/ > public/403.html
|
|
cat public/404.html | sed s/404/401/ | sed s/401\ Page\ not\ found/Nicht\ erlaubt/ > public/401.html
|
|
sed -i s/page\ not\ found/Seite\ verboten/ public/403.html
|
|
sed -i s/page\ not\ found/Seite\ nicht\ erlaubt/ public/401.html
|
|
sed -i s/page\ not\ found/Seite\ nicht\ gefunden/ public/404.html
|
|
rm .hugo_build.lock
|
|
rsync -avP --delete public/ rollcage:docker/nginx/html/
|