summaryrefslogtreecommitdiff
path: root/data/templates/recipe_edit.html
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-02-12 19:33:49 +0100
committerxengineering <me@xengineering.eu>2023-02-12 19:33:49 +0100
commit89d402d10e8af9073cdfb2ad967eda16d714371e (patch)
tree80edf469a86913727724b426897255786c56dbfa /data/templates/recipe_edit.html
parent88af7a818f2ef3c45c4e849512ca1f6289a9dce2 (diff)
downloadceres-89d402d10e8af9073cdfb2ad967eda16d714371e.tar
ceres-89d402d10e8af9073cdfb2ad967eda16d714371e.tar.zst
ceres-89d402d10e8af9073cdfb2ad967eda16d714371e.zip
Move <head/> section to own template file
This reduces copies of the same HTML code.
Diffstat (limited to 'data/templates/recipe_edit.html')
-rw-r--r--data/templates/recipe_edit.html10
1 files changed, 1 insertions, 9 deletions
diff --git a/data/templates/recipe_edit.html b/data/templates/recipe_edit.html
index b5c9672..954bc39 100644
--- a/data/templates/recipe_edit.html
+++ b/data/templates/recipe_edit.html
@@ -1,17 +1,9 @@
<!DOCTYPE html>
<html>
-
- <head>
- <title>Recipes</title>
+ {{ template "head.html" }}
- <meta charset="utf-8"/>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="../../../static/style.css" type="text/css">
-
- </head>
-
<body>
<header>
<h1>Edit a recipe</h1>