summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-03-07 17:27:14 +0100
committerxengineering <me@xengineering.eu>2023-03-07 17:27:14 +0100
commite4ba2f142df4486acacf5b24cff822e2260c1fcc (patch)
tree932be33b78ef522c738104aa61a7efb934089f12
parentba327ee030a3b8abdbf9f5d10987060648dbb10e (diff)
downloadceres-e4ba2f142df4486acacf5b24cff822e2260c1fcc.tar
ceres-e4ba2f142df4486acacf5b24cff822e2260c1fcc.tar.zst
ceres-e4ba2f142df4486acacf5b24cff822e2260c1fcc.zip
Update navigation links
-rw-r--r--data/templates/add.html3
-rw-r--r--data/templates/index.html3
-rw-r--r--data/templates/recipe.html4
-rw-r--r--data/templates/recipe_edit.html4
4 files changed, 12 insertions, 2 deletions
diff --git a/data/templates/add.html b/data/templates/add.html
index 39929dd..0282ef0 100644
--- a/data/templates/add.html
+++ b/data/templates/add.html
@@ -7,6 +7,9 @@
<body>
<header>
+ <nav>
+ <a href="/index.html">HOME</a>
+ </nav>
<h1>Add a recipe</h1>
</header>
diff --git a/data/templates/index.html b/data/templates/index.html
index 86a9089..ab6c243 100644
--- a/data/templates/index.html
+++ b/data/templates/index.html
@@ -8,7 +8,8 @@
<header>
<nav>
- <a href="./add_recipes">add recipe</a>
+ <a href="/index.html">HOME</a>
+ <a href="/add_recipes">add recipe</a>
</nav>
<h1>Recipes</h1>
</header>
diff --git a/data/templates/recipe.html b/data/templates/recipe.html
index 95aefa5..98012fe 100644
--- a/data/templates/recipe.html
+++ b/data/templates/recipe.html
@@ -8,7 +8,9 @@
<header>{{if ne .UpstreamUrl ""}}
<nav>
- <a href="{{.UpstreamUrl}}">Link to recipe</a>
+ <a href="/index.html">HOME</a>
+ <a href="/add_recipes">add recipe</a>
+ <a href="{{.UpstreamUrl}}">original recipe</a>
</nav>
{{end}}
<h1>{{.Title}}</h1>
diff --git a/data/templates/recipe_edit.html b/data/templates/recipe_edit.html
index 64e0790..67437f6 100644
--- a/data/templates/recipe_edit.html
+++ b/data/templates/recipe_edit.html
@@ -6,6 +6,10 @@
<body>
<header>
+ <nav>
+ <a href="/index.html">HOME</a>
+ <a href="/add_recipes">add recipe</a>
+ </nav>
<h1>Edit a recipe</h1>
</header>