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