Commit Graph

8 Commits

Author SHA1 Message Date
Tom Alexander
ab36a60545
Generate the minimum relative path by chopping off the shared stem. 2023-10-23 23:04:05 -04:00
Tom Alexander
68cae57f16
Add a function to get the shared portion of a path. 2023-10-23 22:50:43 -04:00
Tom Alexander
11bfb6836f
Include a self-link for the blog. 2023-10-23 22:38:00 -04:00
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
178ce877bc
Render the head for the page. 2023-10-23 21:51:15 -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