Peter Cai
81fda6e1c8
add a preferred_url option
2020-04-16 16:21:21 +08:00
Peter Cai
e1033ff0b3
support adding description meta tag to pages
...
using the page context
2020-04-15 15:21:51 +08:00
Peter Cai
daccf6c142
add support for hard-coded extra proxied resources
2020-04-13 18:52:16 +08:00
Peter Cai
44ca2f6de3
support cache-control for static resources
2020-04-13 18:10:34 +08:00
Peter Cai
e727bce188
add support for hard-coded redirects in config.json
2020-04-13 16:50:36 +08:00
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.
2020-04-12 17:25:55 +08:00
Peter Cai
1110a2614b
render: implement pagination
2020-04-10 20:57:53 +08:00
Peter Cai
e599007ed4
use build datetime as version string on static resources
2020-04-10 20:42:55 +08:00
Peter Cai
150940cd8c
add template and implement rendering
2020-04-10 20:38:53 +08:00
Peter Cai
8ba086a9ec
implement Markdown rendering
2020-04-09 14:47:46 +08:00
Peter Cai
b337306799
utils: also kill punctuations when generating URLs
2020-04-08 17:56:36 +08:00
Peter Cai
4995de8372
implement publishing / updating
2020-04-08 16:51:39 +08:00
Peter Cai
09081dd1d7
use macro to generate headers
2020-04-07 21:24:09 +08:00
Peter Cai
0547cdd0c3
make internal_err an extension trait
2020-04-07 19:40:22 +08:00
Peter Cai
5467fa6e6d
add internal_err! macro to replace some unwrap()
2020-04-07 18:53:45 +08:00
Peter Cai
a2fa677514
use lazy_static for config
2020-04-07 18:43:49 +08:00
Peter Cai
2a8ed95488
initial impl for Standard Notes Actions
2020-04-07 16:10:08 +08:00
Peter Cai
9e4bf24377
initial commit
2020-04-07 16:10:01 +08:00