From 40a576737de18af2fb20387b3b76b12053910fe9 Mon Sep 17 00:00:00 2001
From: xengineering
Date: Sat, 16 Mar 2024 21:24:28 +0100
Subject: view: Add steps to recipe page
---
view/html/recipe.html | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
(limited to 'view')
diff --git a/view/html/recipe.html b/view/html/recipe.html
index 4d0eb99..fea32a5 100644
--- a/view/html/recipe.html
+++ b/view/html/recipe.html
@@ -14,7 +14,10 @@
{{ if ne .Portions "" }}
Portions: {{.Portions}}
{{end}}{{ if ne .Url "" }}
Original recipe: link
{{end}}{{ if ne .Notes "" }}
- {{.Notes}}
{{end}}
+ {{.Notes}}
{{end}}{{range .Steps}}
+ {{end}}
{{ template "footer" }}
--
cgit v1.2.3-70-g09d2