Dylan Baker
7b1f48e8fa
Sort posts by date
5 years ago
Dylan Baker
adbb0c248d
Give posts a date, separate posts and pages
5 years ago
Dylan Baker
84db626b5d
Create some basic default templates
5 years ago
Dylan Baker
108156d3ed
Make separate page template
5 years ago
Dylan Baker
ca3ad587d4
Introduce pages, move posts under /posts
Currently pages reuse the post template, which isn't ideal but that will
change soon.
5 years ago
Dylan Baker
b367410685
Change name
5 years ago
Dylan Baker
8783ea2e2a
fmt
5 years ago
Dylan Baker
935b3a96b3
Watch whole directory but blacklist public/.git
Instead of only watching the posts folder, it should rebuild upon
writing a css file or a draft or js file, but we don't want to trigger
endless rebuilds by watching `public`. `.git` also changes sometimes and
we don't want that.
5 years ago
Dylan Baker
346794e194
Implement drafts
5 years ago
Dylan Baker
d65f4003c9
Implement watch
5 years ago
Dylan Baker
ab1c0df8f6
Move commands into module
5 years ago
Dylan Baker
45521a78cd
Use config to dynamically generate page titles
5 years ago
Dylan Baker
12e4d78c47
Create config system
5 years ago
Dylan Baker
21e3fdfa12
Test building
5 years ago
Dylan Baker
38a55e6f2f
Create css/js folders and copy them right into /public
5 years ago
Dylan Baker
22bbf46dba
Remove whole public directory and start over
5 years ago
Dylan Baker
4503c874b7
#[cfg(test)]
5 years ago
Dylan Baker
552f4252f4
Test new
5 years ago
Dylan Baker
5d398836d5
Reorganize
5 years ago
Dylan Baker
db69c81d0b
Render markdown
5 years ago
Dylan Baker
4cfa3b276d
Test post parsing
5 years ago
Dylan Baker
87cba00bef
Split into modules
5 years ago
Dylan Baker
a575de5882
Separate rendering templates and writing to disk
5 years ago
Dylan Baker
ba59bd1b7f
Immutability
5 years ago
Dylan Baker
1198c31dc5
Clean up
5 years ago
Dylan Baker
b3dd151745
Fix post listing rendering
5 years ago
Dylan Baker
2e5e55ae09
Create initializer
5 years ago
Dylan Baker
bc5e8a2e20
Formatting >:(
5 years ago
Dylan Baker
71be194842
Use clap
5 years ago
Dylan Baker
20d0966f47
Don't read templates in a loop
5 years ago
Dylan Baker
8d62222840
Format
5 years ago
Dylan Baker
22fc62f537
Read post listing item from template
5 years ago
Dylan Baker
a73746be3f
Error handling 🤷♂️
5 years ago
Dylan Baker
d0604fde70
Implement render post
5 years ago
Dylan Baker
dfcf82d5b9
fmt
5 years ago
Dylan Baker
977e0ec0ae
Implement render_post_listing
5 years ago
Dylan Baker
858dd51bbc
Pass cwd around
5 years ago
Dylan Baker
0243511f8f
Initial commit. Can parse posts.
5 years ago