Commit Graph

2 Commits (a50504f747ba6ad4b3be63e68ca5c24901d6bfde)

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
Luther Wen Xu ccc23cead0
feat: Implement basic handler functionality
The `default` handler is currently all empty and should be setup in the
future. It's currently present as the default theme is in fact, default.

The debug template can be used to debug the content being passed into
the template as it just prints them out.
2020-12-01 15:12:30 +07:00