From 9c2a9c2000520129ac2377b033eeafce61d07abb Mon Sep 17 00:00:00 2001
From: xengineering <me@xengineering.eu>
Date: Thu, 15 Feb 2024 19:47:36 +0100
Subject: view: Reference /recipes with home button

The index page / provides a redirect to /recipes but this is inefficient
since two HTTP requests are required.
---
 view/html/recipe-edit.html | 2 +-
 view/html/recipe.html      | 2 +-
 view/html/recipes.html     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'view')

diff --git a/view/html/recipe-edit.html b/view/html/recipe-edit.html
index d615a7f..6701547 100644
--- a/view/html/recipe-edit.html
+++ b/view/html/recipe-edit.html
@@ -3,7 +3,7 @@
 	{{ template "head" }}
 	<header>
 		<nav>
-			<a href="/">HOME</a>
+			<a href="/recipes">HOME</a>
 		</nav>
 		<h1>Recipe editor</h1>
 	</header>
diff --git a/view/html/recipe.html b/view/html/recipe.html
index c8db391..b1387b3 100644
--- a/view/html/recipe.html
+++ b/view/html/recipe.html
@@ -3,7 +3,7 @@
 	{{ template "head" }}
 	<header>
 		<nav>
-			<a href="/">HOME</a>
+			<a href="/recipes">HOME</a>
 		</nav>
 		<h1>{{.Title}}</h1>
 	</header>
diff --git a/view/html/recipes.html b/view/html/recipes.html
index 1b7b1c1..c77a7a8 100644
--- a/view/html/recipes.html
+++ b/view/html/recipes.html
@@ -3,7 +3,7 @@
 	{{ template "head" }}
 	<header>
 		<nav>
-			<a href="/">HOME</a>
+			<a href="/recipes">HOME</a>
 		</nav>
 		<h1>Recipe overview</h1>
 	</header>
-- 
cgit v1.2.3-70-g09d2