2 use std::path::PathBuf;
4 use crate::template::{find, parse};
6 pub fn generate(_: &PathBuf, template_directory: &PathBuf, _: &PathBuf, _: &Vec<Post>) -> Result<()> {
7 println!("READING TEMP");
8 match find(template_directory, "index.html") {
10 let parsed_template = parse(&template);
11 for token in parsed_template.tokens {
12 println!("TOKEN {}", token);