aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoris2020-02-01 14:37:28 +0100
committerJoris2020-02-01 14:37:28 +0100
commit13d29804ba4bb8d578fb0278ddeb6e187bbafa6f (patch)
tree8e481a9eaf04c8bc0267a469d9b320ed22bf1953 /templates
parent370b60976bdc36ad2a55379bc03f9fabefd703f4 (diff)
downloadcooking-13d29804ba4bb8d578fb0278ddeb6e187bbafa6f.tar.gz
cooking-13d29804ba4bb8d578fb0278ddeb6e187bbafa6f.tar.bz2
cooking-13d29804ba4bb8d578fb0278ddeb6e187bbafa6f.zip
Add return link
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html (renamed from templates/main.html)2
-rw-r--r--templates/recipe.html16
2 files changed, 17 insertions, 1 deletions
diff --git a/templates/main.html b/templates/index.html
index 5957668..e6faafd 100644
--- a/templates/main.html
+++ b/templates/index.html
@@ -8,7 +8,7 @@
<link rel="icon" href="/images/icon.png">
</head>
<body>
- <a href="/" class="header">$title$</a>
+ <div class="header">$title$</div>
<div id="content">$body$</div>
<script src="/main.js"></script>
</body>
diff --git a/templates/recipe.html b/templates/recipe.html
new file mode 100644
index 0000000..6585f33
--- /dev/null
+++ b/templates/recipe.html
@@ -0,0 +1,16 @@
+<!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>
+ <div class="header">$title$</div>
+ <a href="/">тна Retour</a>
+ <div id="content">$body$</div>
+ <script src="/main.js"></script>
+ </body>
+</html>