Fix amount on alternate ingedient

https://github.com/c3woc/c3woc-website/issues/55
This commit is contained in:
L3D 2023-07-26 00:23:00 +02:00
parent d1bc863844
commit f5b5bb233f
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ amount: 200
------ ------
unit: g unit: g
###### flow_amounts ###### ###### flow_amounts ######
amount: 1 amount: 2
------ ------
unit: l unit: l
----- -----

View file

@ -53,7 +53,7 @@
{%- if sst.usda_num is defined and sst.usda_num != "" -%} {%- if sst.usda_num is defined and sst.usda_num != "" -%}
{{- ' class=' -}}"usda_{{- sst.usda_num -}}" {{- ' class=' -}}"usda_{{- sst.usda_num -}}"
{%- endif -%} {%- endif -%}
>(alternativ {{ amt2.amount }} {{ sst.ingredient }})</span></i> >(alternativ {{ amt2.amount }} {{ amt2.unit | default('') }} {{ sst.ingredient }})</span></i>
{%- endif -%} {%- endif -%}
{%- endif -%} {%- endif -%}
{%- endfor -%} {%- endfor -%}