{#-
HTML Rendering des Rezept aus dem zutaten.yaml template
für die Detailseite des Rezepts.
-#}
{%- for child in post.children -%}
{%- if child._template == 'zutaten.yaml' -%}
{{- '\n ' -}}
{{- '\n ' -}}
{{- '\n ' -}}
{%- if child.recipe_uuid is defined and child.recipe_uuid != "" -%}
{%- else -%}
{%- endif -%}
{%- if child.recipe_name and child.recipe_name != "" -%}
{{ child.recipe_name }}
{%- else -%}
{{ child.title }}
{%- endif -%}
{%- if child.servings is defined and child.servings != "" -%}
{%- if child.servings.blocks != [] -%}
{%- include "zutaten/zutaten.html" -%}
{%- endif -%}
{%- endif -%}
{{- '\n ' -}}
{{- '\n ' -}}
{%- endif -%}
{#-
Rezept Schritte...
-#}
{%- if child.steps is defined and child.steps.blocks is defined and child.steps != "" -%}
{%- if child.steps.blocks is defined and child.steps.blocks != "" and child.steps.blocks != [] -%}
{{- '\n ' -}}
{{- '\n ' -}}
{{- '\n ' -}}
Zubereitung
{{- '\n ' -}}
{%- for stp in child.steps.blocks -%}
{%- if stp.step is defined and stp.step != "" -%}
{{- '\n ' -}}
{{- '\n ' -}} {{ stp.step }}
{%- if stp.haccp_type is defined and stp.haccp_type != "" and stp.haccp_string is defined and stp.haccp_string != "" -%}
{{- '\n ' -}}
{{- '\n ' -}}
{{- '\n ' -}}{{ stp.haccp_string }}
{{- '\n ' -}}
{{- '\n ' -}}
{%- endif %}
{%- if stp.notes is defined and stp.notes != "" and stp.notes.blocks is defined %}
{%- if stp.notes.blocks != [] -%}
{{- '\n ' -}}
{%- for nde in stp.notes.blocks -%}
{{- '\n ' -}}
{{- '\n ' -}} {{- nde.note -}}
{{- '\n ' -}}
{%- endfor -%}
{{- '\n ' -}}
{%- endif -%}
{%- endif -%}
{{- '\n ' -}}
{%- endif %}
{%- endfor -%}
{{- '\n ' -}}
{{- '\n ' -}}
{{- '\n ' -}}
{%- endif -%}
{%- endif -%}
{%- if child.oven is defined and child.oven != "" and child.oven.blocks or
child.oven_type is defined and child.oven_type != "" or
child.oven_time is defined and child.oven_time != "" -%}
{{- '\n ' -}}
{{- '\n ' -}}
{{- '\n ' -}}
Backhinweise
{{- '\n ' -}}
{%- if child.oven is defined and child.oven != "" and child.oven.blocks is defined and child.oven.blocks != "" -%}
{% if child.oven.blocks is defined and child.oven.blocks != [] -%}
{%- for ovn in child.oven.blocks -%}
{%- if ovn.amount is defined and ovn.amount != "" -%}
{{- '\n ' -}}