diff options
author | xengineering <me@xengineering.eu> | 2023-04-22 20:09:48 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-04-22 20:09:48 +0200 |
commit | 1dec0af24f22755e3d6debecaa8635dcab918698 (patch) | |
tree | ccb37f52fcf35ccca7072998c56b5d1d22c3130d | |
parent | b7a2d6b3521508d6ae8bb94d281f049f59001aa1 (diff) | |
download | ceres-1dec0af24f22755e3d6debecaa8635dcab918698.tar ceres-1dec0af24f22755e3d6debecaa8635dcab918698.tar.zst ceres-1dec0af24f22755e3d6debecaa8635dcab918698.zip |
Use <section> elements for recipe steps
-rw-r--r-- | data/templates/recipe.html | 5 |
1 files 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 @@ <p><a href="{{.Recipe.Url}}">Link</a></p> - <hr> - {{range .Recipe.Steps}} + <section> <p>{{.Text}}</p> <p><i>{{range $i, $el := .Ingredients}}{{if $i}}, {{end}}{{$el.Amount}} {{$el.Type}}{{end}}</i></p> - <hr> + </section> {{end}} <a href="/recipe/edit?id={{.Id}}"><button>edit</button></a> |