aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoris2016-05-25 14:31:53 +0200
committerJoris2017-07-25 00:36:39 +0200
commit7091d40b31d4e9fe32ab15b865397e9abf0ba5d8 (patch)
tree237d92ecd75edf3a875b08921ea5e5eae8eac085 /templates
Init with potimarron page
Diffstat (limited to 'templates')
-rw-r--r--templates/main.html15
-rw-r--r--templates/vegetables.html9
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>