2 use std::path::PathBuf;
3 use crate::template::{find, parse, TemplateContext};
5 pub fn generate(_: &PathBuf, template_directory: &PathBuf, _: &PathBuf, context: &TemplateContext) -> Result<()> {
6 match find(template_directory, "index.html") {
8 let parsed_template = parse(&template);
9 println!("TOKEN {}", parsed_template.render(context));