Fix the links to the blog posts.

This commit is contained in:
Tom Alexander
2023-12-19 16:46:32 -05:00
parent add267d616
commit 261fe8a1a2
5 changed files with 14 additions and 7 deletions

View File

@@ -77,8 +77,7 @@ impl SiteRenderer {
for blog_post_page in &blog_post.pages {
let output_path = self
.output_directory
.join("posts")
.join(&blog_post.id)
.join(config.get_relative_path_to_post(&blog_post.id))
.join(blog_post_page.get_output_path());
let convert_input = RenderBlogPostPageInput::new(blog_post, blog_post_page);