webseite/templates/zutaten/yields.yaml
2021-07-31 18:48:28 +02:00

11 lines
332 B
YAML

{#-
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 -%}