L3D
fd742c7049
Co-authored-by: L3D <l3d@see-base.de> Reviewed-on: https://backwesen.de/c3woc/webseite/pulls/1
11 lines
332 B
YAML
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 -%}
|