Dylan Baker
b367410685
Change name
5 лет назад
Dylan Baker
8783ea2e2a
fmt
5 лет назад
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 лет назад
Dylan Baker
346794e194
Implement drafts
5 лет назад
Dylan Baker
d65f4003c9
Implement watch
5 лет назад
Dylan Baker
ab1c0df8f6
Move commands into module
5 лет назад
Dylan Baker
45521a78cd
Use config to dynamically generate page titles
5 лет назад
Dylan Baker
12e4d78c47
Create config system
5 лет назад
Dylan Baker
21e3fdfa12
Test building
5 лет назад
Dylan Baker
7eaff00b02
Add test script for ease of use
Someday I'll figure out why my tests are colliding on the file system
5 лет назад
Dylan Baker
38a55e6f2f
Create css/js folders and copy them right into /public
5 лет назад
Dylan Baker
22bbf46dba
Remove whole public directory and start over
5 лет назад
Dylan Baker
b1a20ac244
Fix post regex to correctly capture multiple paragraphs
5 лет назад
Dylan Baker
4503c874b7
#[cfg(test)]
5 лет назад
Dylan Baker
552f4252f4
Test new
5 лет назад
Dylan Baker
5d398836d5
Reorganize
5 лет назад
Dylan Baker
544b6cf0ba
Test writing post and post listing
5 лет назад
Dylan Baker
8469148ec3
Test render post listing
5 лет назад
Dylan Baker
e39b136ec7
Get rid of these editor warnings
5 лет назад
Dylan Baker
3da5f4d4c0
Test post rendering
5 лет назад
Dylan Baker
db69c81d0b
Render markdown
5 лет назад
Dylan Baker
4cfa3b276d
Test post parsing
5 лет назад
Dylan Baker
87cba00bef
Split into modules
5 лет назад
Dylan Baker
a575de5882
Separate rendering templates and writing to disk
5 лет назад
Dylan Baker
ba59bd1b7f
Immutability
5 лет назад
Dylan Baker
1198c31dc5
Clean up
5 лет назад
Dylan Baker
b3dd151745
Fix post listing rendering
5 лет назад
Dylan Baker
2e5e55ae09
Create initializer
5 лет назад
Dylan Baker
bc5e8a2e20
Formatting >:(
5 лет назад
Dylan Baker
71be194842
Use clap
5 лет назад
Dylan Baker
20d0966f47
Don't read templates in a loop
5 лет назад
Dylan Baker
8d62222840
Format
5 лет назад
Dylan Baker
22fc62f537
Read post listing item from template
5 лет назад
Dylan Baker
a73746be3f
Error handling 🤷♂️
5 лет назад
Dylan Baker
d0604fde70
Implement render post
5 лет назад
Dylan Baker
dfcf82d5b9
fmt
5 лет назад
Dylan Baker
977e0ec0ae
Implement render_post_listing
5 лет назад
Dylan Baker
858dd51bbc
Pass cwd around
5 лет назад
Dylan Baker
0243511f8f
Initial commit. Can parse posts.
5 лет назад