A Golang Blog Based on Markdown and "html/template".
 
 
Go to file
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
handler feat: Add static path and per-template style.css 2020-12-01 22:16:56 +07:00
parser feat: ExtractFrontMatter ignores blank line within FrontMatter context 2020-11-28 11:42:11 +07:00
templates feat: Add static path and per-template style.css 2020-12-01 22:16:56 +07:00
.gitignore feat: Add static path and per-template style.css 2020-12-01 22:16:56 +07:00
LICENSE Initial commit 2020-11-27 01:21:10 +07:00
README.md Initial commit 2020-11-27 01:21:10 +07:00
config.go feat: Implement config parsing and start a server based on config 2020-12-01 15:12:24 +07:00
go.mod feat: Implement config parsing and start a server based on config 2020-12-01 15:12:24 +07:00
go.sum feat: Implement config parsing and start a server based on config 2020-12-01 15:12:24 +07:00
main.go feat: Implement basic handler functionality 2020-12-01 15:12:30 +07:00

README.md

blgo

A Golang Blog Based on Markdown and "html/template".