This commit is contained in:
parent
2a83971cb3
commit
cba49f26b1
|
@ -17,7 +17,6 @@ pub fn generate(mut blog_posts: Vec<BlogPost>, template_dir: &String) -> String
|
|||
for post in &mut blog_posts {
|
||||
post.content = get_unformatted_text(post.content.clone());
|
||||
}
|
||||
dbg!(&blog_posts);
|
||||
|
||||
let mut tera = Tera::new(&format!("{}/*", template_dir)).unwrap();
|
||||
tera.autoescape_on(vec![]);
|
||||
|
|
Loading…
Reference in a new issue