summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>