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