Peter Cai
e1033ff0b3
support adding description meta tag to pages
...
using the page context
3 years ago
Peter Cai
d6b479ec15
support per-post theme_config in custom metadata
3 years ago
Peter Cai
800a39956a
render: add pathname to the page context
...
needed when we need to insert a comment system
3 years ago
Peter Cai
44ca2f6de3
support cache-control for static resources
3 years ago
Peter Cai
2ee88e11b0
drop rbtag and use our own hand-rolled implementation
...
because we need to update build timestamp each time anything related to
rendering is changed. The rbtag crate only supports git commit times.
Also, reproducible build isn't exactly a goal of this project.
3 years ago
Peter Cai
de8eace92e
render: use static Handlebars instance
3 years ago
Peter Cai
1f2fee8341
implement RSS feed
...
as an alternative common template for home page
3 years ago
Peter Cai
f714591b25
implement manual summary marker
3 years ago
Peter Cai
23d899dd0e
support build-time theme selection via build.rs
3 years ago
Peter Cai
d8f05bad95
render: remove dummy argument in handlebars helper
...
turns out they just can't handle `||` -- adding a space in between fixes
the problem.
3 years ago
Peter Cai
bbcb48beeb
implement post page rendering
3 years ago
Peter Cai
1110a2614b
render: implement pagination
3 years ago
Peter Cai
e599007ed4
use build datetime as version string on static resources
3 years ago
Peter Cai
150940cd8c
add template and implement rendering
3 years ago