This commit is contained in:
@ -12,6 +12,14 @@ fn main() {
|
||||
create_static_files();
|
||||
|
||||
create_index(&overview);
|
||||
create_impressum();
|
||||
}
|
||||
|
||||
/// Creates the `index.html` file.
|
||||
fn create_impressum() {
|
||||
let index = fs::read_to_string("templates/impressum.html").unwrap();
|
||||
let index = Parts::new().perform(index);
|
||||
fs::write("output/impressum.html", index).expect("Unable to write file");
|
||||
}
|
||||
|
||||
/// Creates the `index.html` file.
|
||||
|
Reference in New Issue
Block a user