Dylan Baker
af9a781fde
Clean up warnings
1 year ago
Dylan Baker
af2cc341c8
Aargh
4 years ago
Dylan Baker
dafb7c778b
Implement rss
5 years ago
Dylan Baker
67530d79dc
Make static variables uppercase
5 years ago
Dylan Baker
4ce4e68df5
Move css/ and js/ to assets/
5 years ago
Dylan Baker
1fee1972ea
Restructure entry parsing, should help with speed
5 years ago
Dylan Baker
aade0d66a3
Try pulldown-cmark instead of comrak
Supposed to be fast
5 years ago
Dylan Baker
02ae0a3cca
Remove vestigial post and page files
5 years ago
Dylan Baker
117c7fff9d
Implement {{ date }} variable for entries
5 years ago
Dylan Baker
9a2947d25a
Version 0.2.0
5 years ago
Dylan Baker
5bc14208ac
Get tests to pass in parallel
5 years ago
Dylan Baker
38fbd6bb67
Take IO out of entry parsing
5 years ago
Dylan Baker
fb03f04bc1
Consolidate pages and posts into entries
5 years ago
Dylan Baker
bb7592eac1
Allow displaying date
5 years ago
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
581c794a5a
Bump version
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
b1a20ac244
Fix post regex to correctly capture multiple paragraphs
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
544b6cf0ba
Test writing post and post listing
5 years ago
Dylan Baker
8469148ec3
Test render post listing
5 years ago
Dylan Baker
e39b136ec7
Get rid of these editor warnings
5 years ago
Dylan Baker
3da5f4d4c0
Test post rendering
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