Nicer headers and empty page for new pages on website
This commit is contained in:
parent
a0fe5fa1ac
commit
d4e141a97c
9
_headers
9
_headers
@ -1,3 +1,8 @@
|
||||
/fs/*
|
||||
/fs/_plug/*
|
||||
Content-Type: application/json
|
||||
Last-Modified: 0
|
||||
X-Permission: rw
|
||||
X-Permission: ro
|
||||
/fs/*
|
||||
Content-Type: text/markdown
|
||||
Last-Modified: 0
|
||||
X-Permission: rw
|
||||
|
@ -1,2 +1,3 @@
|
||||
/fs /index.json 200
|
||||
/fs/* /empty.md 200
|
||||
/* /index.html 200
|
@ -9,4 +9,5 @@ cp -r website/* website_build/fs/
|
||||
cp packages/plugs/dist/* website_build/fs/_plug/
|
||||
find website_build/fs/ -depth -name "*.md" -exec sh -c 'mv "$1" "${1%.md}"' _ {} \;
|
||||
find website_build/fs/ -depth -name "*.plug.json" -exec sh -c 'mv "$1" "${1%.plug.json}"' _ {} \;
|
||||
node scripts/generate_fs_list.js > website_build/index.json
|
||||
node scripts/generate_fs_list.js > website_build/index.json
|
||||
echo > website_build/empty.md
|
Loading…
Reference in New Issue
Block a user