diff options
author | xengineering <me@xengineering.eu> | 2024-03-24 10:10:10 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-03-24 10:10:10 +0100 |
commit | 605c9e321b442daf1794ae8c045b1efb75617c92 (patch) | |
tree | 36c7206f1b1f714a9805a0de3b189e21099269d0 /view/html/recipe.html | |
parent | a841381cc844776e3561cc1ce7189120a91ee655 (diff) | |
download | ceres-605c9e321b442daf1794ae8c045b1efb75617c92.tar ceres-605c9e321b442daf1794ae8c045b1efb75617c92.tar.zst ceres-605c9e321b442daf1794ae8c045b1efb75617c92.zip |
view: Fix position of header tag
It should be inside the body tag but used to be before it.
Diffstat (limited to 'view/html/recipe.html')
-rw-r--r-- | view/html/recipe.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/html/recipe.html b/view/html/recipe.html index a99690a..4d0eb99 100644 --- a/view/html/recipe.html +++ b/view/html/recipe.html @@ -2,11 +2,11 @@ <!DOCTYPE html> <html> {{ template "head" }} - <header> - {{ template "nav" }} - <h1>{{.Title}}</h1> - </header> <body> + <header> + {{ template "nav" }} + <h1>{{.Title}}</h1> + </header> <main> <p> <button onclick="window.location.href='/recipe/{{.Id}}?view=recipe-edit';">edit</button> |