Tom Alexander
|
ce0819e85b
|
Feeding the templates into the renderer integration.
|
2023-10-22 17:31:12 -04:00 |
|
Tom Alexander
|
fc5342adce
|
Make the renderer a bit more generic.
|
2023-10-22 16:40:58 -04:00 |
|
Tom Alexander
|
24bac982f1
|
Starting to create the renderer integrations.
These are the layer directly over dust which can be used by anything, not just blog posts.
|
2023-10-22 16:26:43 -04:00 |
|
Tom Alexander
|
5f34cb2dd5
|
Creating a SiteRenderer struct to handle the logic for invoking dust.
|
2023-10-22 16:10:41 -04:00 |
|
Tom Alexander
|
0b6900eeca
|
Serialize the RenderBlogPost to JSON.
This struct still does not contain anything, but I'm just setting up the skeleton for this code.
|
2023-10-22 16:01:42 -04:00 |
|
Tom Alexander
|
a0c5b2d852
|
Don't use walkdir for getting the post directories.
We are only iterating a single level of depth anyway, so read_dir is enough.
|
2023-10-22 14:49:08 -04:00 |
|
Tom Alexander
|
a9fbb4cd63
|
Get the output directory and clear it.
|
2023-10-22 14:40:59 -04:00 |
|
Tom Alexander
|
07e4209048
|
Setting the post id based on the folder name.
|
2023-10-22 13:50:11 -04:00 |
|
Tom Alexander
|
2f0f3ab346
|
Switch to using CustomError because a boxed StdError is not Send.
|
2023-10-22 13:44:03 -04:00 |
|
Tom Alexander
|
816780589f
|
Parse the org-mode files.
|
2023-10-21 18:00:51 -04:00 |
|
Tom Alexander
|
acaa12cb6e
|
Read the org files inside the writer directory.
|
2023-10-20 20:16:22 -04:00 |
|
Tom Alexander
|
051e86e65a
|
Remove the AddPost command.
I will be putting this back in later but having the skeleton sitting there unused has no value at this time.
|
2023-10-20 19:13:22 -04:00 |
|
Tom Alexander
|
672ca07a0e
|
Introduce a new config struct the lives above the raw disk implementation.
This should let us include values that would not be written to disk like the folder containing the config.
|
2023-10-18 21:25:37 -04:00 |
|
Tom Alexander
|
933387eb6f
|
Writing the writer.toml to a folder when running init.
|
2023-10-18 20:21:28 -04:00 |
|
Tom Alexander
|
8b5930f277
|
Set up folder structure for the command handlers.
|
2023-10-18 19:54:18 -04:00 |
|