This commit is contained in:
parent
c323954327
commit
9eda7172c4
@ -12,6 +12,14 @@ fn main() {
|
|||||||
create_static_files();
|
create_static_files();
|
||||||
|
|
||||||
create_index(&overview);
|
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.
|
/// Creates the `index.html` file.
|
||||||
|
17
templates/impressum.html
Normal file
17
templates/impressum.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<html lang="de" data-theme="dark">
|
||||||
|
{{head}}
|
||||||
|
<body>
|
||||||
|
{{header}}
|
||||||
|
<main class="container">
|
||||||
|
<h1><mark>Impressum</mark></h1>
|
||||||
|
<ol>
|
||||||
|
<li>Name: Philipp Hofer</li>
|
||||||
|
<li>Anschrift: Rubinweg 8, 4225 Luftenberg</li>
|
||||||
|
<li>Kontakt: philipp ÄT hofer PUNKT link</li>
|
||||||
|
</ol>
|
||||||
|
</main>
|
||||||
|
{{footer}}
|
||||||
|
<script src="app.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user