webseite/templates/zutaten/yields.yaml

12 lines
332 B
YAML
Raw Normal View History

2021-07-31 18:48:28 +02:00
{#-
Template to collect yields for the recipe,yml
-#}
{%- if this.servings is defined and this.servings != "" -%}
{%- for prt in this.servings.blocks -%}
{%- if loop.index == 1 -%}
{{ '\nyields:' }}
{%- endif -%}
{{ '\n - servings:' }} {{ prt.serving_number | default('1') }}
{%- endfor -%}
{%- endif -%}