Tom Alexander
3ac7826d2c
Move the logic into convert_blog_post_page_to_render_context.
...
I was writing it in the build command's rust files for convenience, but now its getting long enough to warrant moving it into its final location.
2023-10-23 22:10:26 -04:00
Tom Alexander
2b6f86d4e9
Switch to rendering blog post pages instead of blog posts.
2023-10-23 20:30:43 -04:00
Tom Alexander
e543a5db74
Starting to introduce a BlogPostPage struct.
...
Blog posts are going to be constructed of multiple documents each forming their own page. This will allow me to link to supporting documents without having to promote them to their own pages.
2023-10-23 16:03:37 -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
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
d8fc49797e
Moving into a load_blog_post function to create a BlogPost struct.
2023-10-22 12:04:09 -04:00