From 1dec0af24f22755e3d6debecaa8635dcab918698 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 22 Apr 2023 20:09:48 +0200 Subject: Use
elements for recipe steps --- data/templates/recipe.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/data/templates/recipe.html b/data/templates/recipe.html index 31fc7e3..21a6a15 100644 --- a/data/templates/recipe.html +++ b/data/templates/recipe.html @@ -19,12 +19,11 @@

Link

-
- {{range .Recipe.Steps}} +

{{.Text}}

{{range $i, $el := .Ingredients}}{{if $i}}, {{end}}{{$el.Amount}} {{$el.Type}}{{end}}

-
+
{{end}} -- cgit v1.2.3-70-g09d2