summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-05-15 19:27:05 +0200
committerxengineering <me@xengineering.eu>2024-05-15 19:27:05 +0200
commitb48f4514a44450da1ad5da68ce434c2b87e721d0 (patch)
treed5bee899cfa01e75e814ddef83bad11e6baf95d4
parentd8b40f0a0a2ac2bcb8b9b690166ae7594c067298 (diff)
downloadceres-b48f4514a44450da1ad5da68ce434c2b87e721d0.tar
ceres-b48f4514a44450da1ad5da68ce434c2b87e721d0.tar.zst
ceres-b48f4514a44450da1ad5da68ce434c2b87e721d0.zip
view: Rename to 'Ingredient summary:'
This used to be named 'Ingredients: which might be confusing since ingredients are defined per step and the list at the top of the recipe is just a summary.
-rw-r--r--view/html/recipe.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/html/recipe.html b/view/html/recipe.html
index d794b9d..6d3ee0d 100644
--- a/view/html/recipe.html
+++ b/view/html/recipe.html
@@ -15,7 +15,7 @@
<p class="notice" style="white-space: pre-line;">{{.Notes}}</p>{{end}}{{ if ne .Portions "" }}
<p><i>Portions:</i> {{.Portions}}</p>{{end}}{{ if ne .Url "" }}
<p><i>Original recipe:</i> <a href="{{.Url}}">link</a></p>{{end}}
- <p><i>Ingredients:</i></p>
+ <p><i>Ingredient summary:</i></p>
<ul>
{{range .Steps}}{{range $i, $el := .Ingredients}}
<li>{{if ne $el.Amount ""}}{{$el.Amount}} {{end}}{{if ne $el.Unit ""}}{{$el.Unit}} {{end}}{{$el.Type}}</li>