{#- HTML Rendering des Rezept aus dem zutaten.yaml template für die Übersichtsseite /rezept nur das nötigste... -#} {%- for child in post.children -%} {%- if child._template == 'zutaten.yaml' -%} {#- Zunächst werden die Zutaten des Rezept definiert... -#} {{- '\n ' -}}
{{- '\n ' -}}
{{- '\n ' -}}

{%- 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_short.html" -%} {%- else -%}

ungültige Rezeptangaben

{%- endif -%} {%- endif -%} {{- '\n ' -}}
{{- '\n ' -}}
{#- Nachdem die Zutaten des Rezept nun angegeben sind, folgt die Zubereitung der waffelfähigen Teigprodukte... -#} {%- 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 != [] -%} {%- set only_render_steps = true -%} {%- include "zutaten/zubereitung.html" -%} {%- endif -%} {%- endif -%} {%- endif -%} {%- endfor -%}