feat: Add static path and per-template style.css
The handler now searches in the static path first and fallback to the content directory otherwise. If that fails, the 404 template is rendered as expected. The style.css path is now reserved for templates' style.css file and does not follow the regular search path. This means that /style.css will serve a 404 page even if static/style.css or content/style.css.md exists.pull/3/head
parent
ccc23cead0
commit
a50504f747
@ -1,2 +1,3 @@
|
||||
config.json
|
||||
content/
|
||||
static/
|
||||
|
@ -0,0 +1,2 @@
|
||||
body { margin: 0 }
|
||||
/* This is style.css of the debug template. */
|
Reference in New Issue