Store the path to the original source file in the blog post object.

This commit is contained in:
Tom Alexander
2025-02-07 21:08:06 -05:00
parent 463be34302
commit 5cac44c625
4 changed files with 28 additions and 4 deletions

View File

@@ -163,7 +163,7 @@ async fn load_pages(config: &Config) -> Result<Vec<IPage>, CustomError> {
ret.push(
IPage::new(
intermediate_context,
PageInput::new(relative_to_pages_dir_path, parsed_document),
PageInput::new(relative_to_pages_dir_path, real_path, parsed_document),
)
.await?,
);