{#-
Render die Notizen und Angaben zur Verarbeitung der Rezepte
-#}
{%- if child.ingredients is defined and child.ingredients != "" %}
{%- if child.ingredients.blocks != [] -%}
{{- '\n ' -}}
{{- '\n ' -}}
{{- '\n ' -}}
Hinweise zu den Zutaten
{%- for ing in child.ingredients.blocks %}
{%- if ing.ingredient is defined and ing.ingredient != "" -%}
{#-
Verarbeitungshinweise der Zutat
-#}
{%- if ing.processing is defined and ing.processing != "" -%}
{%- if ing.processing.blocks != [] -%}
{%- for prc in ing.processing.blocks -%}
{%- if not prc.short|default(false) -%}
{%- if loop.index == 1 -%}
{{- '\n ' -}}
Verarbeitung von {{ ing.ingredient }}:
{{- '\n ' -}}
{%- endif -%}
{{- '\n ' -}}
{{- '\n ' -}}
{{ prc.process }}
{{- '\n ' -}}
{%- endif -%}
{%- endfor -%}
{{- '\n ' -}}
{%- endif -%}
{%- endif -%}
{#-
Notiz der Zutat
-#}
{%- if ing.notes is defined and ing.notes != "" -%}
{%- if ing.notes.blocks != [] -%}
{%- for nde in ing.notes.blocks -%}
{%- if not nde.html | default(False) -%}
{%- if loop.index == 1 -%}
{{- '\n ' -}}
Notiz zu {{ ing.ingredient }}:
{{- '\n ' -}}
{%- endif -%}
{{- '\n ' -}}
{{- '\n ' -}}
{{ nde.note }}
{{- '\n ' -}}
{%- if loop.index == loop.length -%}
{{- '\n ' -}}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- endif -%}
{%- if ing.substitutions is defined and ing.substitutions != "" -%}
{%- if ing.substitutions.blocks != [] -%}
{%- for alt in ing.substitutions.blocks -%}
{%- if alt.notes is defined and alt.notes != "" -%}
{%- if alt.notes.blocks != [] -%}
{%- for ntz in alt.notes.blocks -%}
{%- if not ntz.html | default(False) -%}
{%- if loop.index == 1 -%}
{{- '\n ' -}}
Notiz zu {{ alt.ingredient }}:
{{- '\n ' -}}
{%- endif -%}
{{- '\n ' -}}
{{- '\n ' -}}
{{ ntz.note }}
{{- '\n ' -}}
{%- if loop.index == loop.length -%}
{{- '\n ' -}}