diff options
author | xengineering <me@xengineering.eu> | 2024-02-15 19:47:36 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-02-15 19:58:08 +0100 |
commit | 9c2a9c2000520129ac2377b033eeafce61d07abb (patch) | |
tree | 556adbd9ecad594622820bba9b3e3860223967c8 | |
parent | 62e735a0ff2a05c5455abc1f27d1d14167158175 (diff) | |
download | ceres-9c2a9c2000520129ac2377b033eeafce61d07abb.tar ceres-9c2a9c2000520129ac2377b033eeafce61d07abb.tar.zst ceres-9c2a9c2000520129ac2377b033eeafce61d07abb.zip |
view: Reference /recipes with home button
The index page / provides a redirect to /recipes but this is inefficient
since two HTTP requests are required.
-rw-r--r-- | view/html/recipe-edit.html | 2 | ||||
-rw-r--r-- | view/html/recipe.html | 2 | ||||
-rw-r--r-- | view/html/recipes.html | 2 |
3 files changed, 3 insertions, 3 deletions
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> |