Starting to create the renderer integrations.

These are the layer directly over dust which can be used by anything, not just blog posts.
This commit is contained in:
Tom Alexander
2023-10-22 16:26:43 -04:00
parent 5f34cb2dd5
commit 24bac982f1
5 changed files with 46 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ use std::path::PathBuf;
use crate::blog_post::convert_blog_post_to_render_context;
use crate::blog_post::BlogPost;
use crate::error::CustomError;
use crate::render::DusterRenderer;
pub(crate) struct SiteRenderer {
pub(crate) output_directory: PathBuf,
@@ -16,6 +17,8 @@ impl SiteRenderer {
println!("{}", serde_json::to_string(&render_context)?);
}
let mut renderer_integration = DusterRenderer {};
Ok(())
}
}