diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.html | 15 | ||||
-rw-r--r-- | templates/vegetables.html | 9 |
2 files changed, 24 insertions, 0 deletions
diff --git a/templates/main.html b/templates/main.html new file mode 100644 index 0000000..5957668 --- /dev/null +++ b/templates/main.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html lang="fr"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>$title$</title> + <link rel="stylesheet" href="/main.css" /> + <link rel="icon" href="/images/icon.png"> + </head> + <body> + <a href="/" class="header">$title$</a> + <div id="content">$body$</div> + <script src="/main.js"></script> + </body> +</html> diff --git a/templates/vegetables.html b/templates/vegetables.html new file mode 100644 index 0000000..eabb315 --- /dev/null +++ b/templates/vegetables.html @@ -0,0 +1,9 @@ +<h1>Légumes</h1> + +<ul> + $for(vegetables)$ + <li> + <a href="$url$">$title$</a> + </li> + $endfor$ +</ul> |