This commit is contained in:
parent
933341f09f
commit
5de6732e7e
@ -110,6 +110,9 @@ fn main() {
|
||||
let style = fs::read_to_string("templates/pico.min.css").unwrap();
|
||||
fs::write(&format!("output/pico.min.css"), &style).expect("Unable to write file");
|
||||
|
||||
let js = fs::read_to_string("templates/app.js").unwrap();
|
||||
fs::write(&format!("output/app.js"), &js).expect("Unable to write file");
|
||||
|
||||
let mut index = fs::read_to_string("templates/index.html").unwrap();
|
||||
index = index.replace("{{content}}", &li_of_files);
|
||||
fs::write(&format!("output/index.html"), &index).expect("Unable to write file");
|
||||
|
Loading…
Reference in New Issue
Block a user