diff options
author | xengineering <me@xengineering.eu> | 2024-03-03 17:12:14 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-03-03 17:12:14 +0100 |
commit | d35bd7c65d062ca30852c901f6e98a05ceb309d7 (patch) | |
tree | ec334d5ff2bde62d6a18060de6f0fb3518d4f1fe /view/html/recipe-confirm-deletion.html | |
parent | 439f49d4afb1f2bfc9a7aaf63bac7c560486c93c (diff) | |
download | ceres-d35bd7c65d062ca30852c901f6e98a05ceb309d7.tar ceres-d35bd7c65d062ca30852c901f6e98a05ceb309d7.tar.zst ceres-d35bd7c65d062ca30852c901f6e98a05ceb309d7.zip |
view: Add template 'nav'
The <nav> section is the same on every page. This new template reduces
code duplication.
Diffstat (limited to 'view/html/recipe-confirm-deletion.html')
-rw-r--r-- | view/html/recipe-confirm-deletion.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/view/html/recipe-confirm-deletion.html b/view/html/recipe-confirm-deletion.html index 7e839cb..74d6ede 100644 --- a/view/html/recipe-confirm-deletion.html +++ b/view/html/recipe-confirm-deletion.html @@ -3,9 +3,7 @@ <html> {{ template "head" }} <header> - <nav> - <a href="/recipes">HOME</a> - </nav> + {{ template "nav" }} <h1>Delete a recipe</h1> </header> <body> |