Add target.

This commit is contained in:
Tom Alexander
2023-10-27 14:54:54 -04:00
parent c6cf5f75ac
commit 7b01230234
9 changed files with 80 additions and 15 deletions

View File

@@ -18,10 +18,10 @@ pub(crate) struct BlogPostPage {
}
impl BlogPostPage {
pub(crate) fn new<P: Into<PathBuf>>(
pub(crate) fn new<'parse, P: Into<PathBuf>>(
path: P,
registry: &mut Registry<'_>,
document: &organic::types::Document<'_>,
registry: &mut Registry<'parse>,
document: &organic::types::Document<'parse>,
) -> Result<BlogPostPage, CustomError> {
let path = path.into();
let mut children = Vec::new();