Add a prefix to footnote IDs.

This avoids a conflict with multiple blog posts rendering in the same stream.
This commit is contained in:
Tom Alexander
2023-12-19 17:51:35 -05:00
parent d4b290ebe6
commit 2e1c979127
7 changed files with 115 additions and 42 deletions

View File

@@ -85,6 +85,7 @@ impl SiteRenderer {
config,
self.output_directory.as_path(),
output_path.as_path(),
None,
)?;
let render_context = RenderBlogPostPage::new(render_context, &convert_input)?;
let rendered_output = renderer_integration.render(render_context)?;
@@ -165,6 +166,7 @@ impl SiteRenderer {
config,
self.output_directory.as_path(),
output_file.as_path(),
None,
)?;
let blog_stream = RenderBlogStream::new(render_context, &convert_input)?;