update deps
CI/CD Pipeline / deploy-main (push) Has been cancelled

This commit is contained in:
2024-02-20 22:39:44 +01:00
parent 54b4d7b475
commit 0187f147aa
5 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ fn create_index(content: &str) {
let mut index = fs::read_to_string("templates/index.html").unwrap();
index = index.replace("{{content}}", content);
let index = Parts::new().perform(index);
fs::write("output/index.html", &index).expect("Unable to write file");
fs::write("output/index.html", index).expect("Unable to write file");
}
/// Copies all files from `templates/static` to `output`