feat: Add static path and per-template style.css #3

Open
chanbakjsd wants to merge 1 commits from chanbakjsd/blgo:master into master

1 Commits (master)

Author SHA1 Message Date
Luther Wen Xu a50504f747
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.
2020-12-01 22:16:56 +07:00