init
This commit is contained in:
commit
aa9850e487
33
index.html
Normal file
33
index.html
Normal file
@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Inurbe - Découvrez l’héritage de Lyon</title>
|
||||
<link rel="stylesheet" type="text/css" href="style/main.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
</header>
|
||||
|
||||
<nav>
|
||||
<ol>
|
||||
<li><a href="#accueil">Accueil</a></li>
|
||||
<li><a href="#balades">Balades</a></li>
|
||||
<li><a href="#qui">Qui sommes nous ?</a></li>
|
||||
<li><a href="#tarifs">Tarifs</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<main>
|
||||
<p id="accueil"></p>
|
||||
<p id="balades"></p>
|
||||
<p id="qui"></p>
|
||||
<p id="tarifs"></p>
|
||||
<p id="contact"></p>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
10
main.py
Normal file
10
main.py
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/python3
|
||||
|
||||
# Fetch article list
|
||||
# generate menu
|
||||
# generate 1 page per category
|
||||
# generate 1 page per article
|
||||
|
||||
for file in article*.html ; do
|
||||
sed -e "/-- body -->/r $file" index.html > static.$file
|
||||
done
|
0
style/main.css
Normal file
0
style/main.css
Normal file
Loading…
Reference in New Issue
Block a user