diff --git a/content/contents.lr b/content/contents.lr
index c155552..b76f1db 100644
--- a/content/contents.lr
+++ b/content/contents.lr
@@ -55,7 +55,7 @@ inner_box:
##### flow_one_innerbox_section #####
title: klassischer Waffelteig
-----
-box_image: sweet_waffle.jpg
+box_image: waffle_apfelmus.jpg
-----
box_content:
@@ -66,6 +66,8 @@ Aus Eiern, Butter, Zucker, Mehl, Milch, Vanille, Backpulver und optional ein wen
box_link: klassische Waffel
-----
box_url: /rezept/klassisch/
+-----
+image_alt:
##### flow_one_innerbox_section #####
title: laktosefreier Waffelteig
-----
@@ -80,6 +82,8 @@ Das gilt für alle Zutaten, auser den Eiern. Mit beispielsweise veganer Magarine
box_link: laktosefrei
-----
box_url: /rezept/laktose/
+-----
+image_alt:
##### flow_one_innerbox_section #####
title: Waffel mit Akzent
-----
@@ -94,6 +98,8 @@ Es gibt Zimt, Kardamom, Chilli, frische Kräuter und vieles mehr. Probiert es do
box_link: verfeinerter Teig
-----
box_url: /rezept/gewuerz/
+-----
+image_alt:
#### flow_seperator ####
#### flow_boxes_section ####
title: Sei teil der Waffel Community
diff --git a/content/rezept/klassisch/contents.lr b/content/rezept/klassisch/contents.lr
index 9a0c4db..d09be94 100644
--- a/content/rezept/klassisch/contents.lr
+++ b/content/rezept/klassisch/contents.lr
@@ -10,3 +10,5 @@ Der klassischer Waffelteig ist zu finden auf:
pub_date: 2021-07-19
---
orf: yes
+---
+weight: 1
diff --git a/content/rezept/klassisch/rezept.yaml/contents.lr b/content/rezept/klassisch/rezept.yaml/contents.lr
index 37c22c1..9e2d013 100644
--- a/content/rezept/klassisch/rezept.yaml/contents.lr
+++ b/content/rezept/klassisch/rezept.yaml/contents.lr
@@ -41,10 +41,16 @@ processing:
##### flow_processing #####
process: rohe Eier strikt räumlich getrennt von anderen Lebensmitteln verarbeiten
+-----
+short:
##### flow_processing #####
process: Ei vor dem Aufschlagen waschen und wenn möglich desinfizieren
+-----
+short:
##### flow_processing #####
process: alle Teile des Ei sind nach dem Aufschlagen so schnell wie möglich zu verarbeiten
+-----
+short:
----
notes:
@@ -119,6 +125,8 @@ processing:
##### flow_processing #####
process: weich oder zerlassen
+-----
+short: yes
----
notes:
----
diff --git a/content/waffle_apfelmus.jpg b/content/waffle_apfelmus.jpg
new file mode 100644
index 0000000..5b517be
--- /dev/null
+++ b/content/waffle_apfelmus.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7df29dc48655c39218a83a146a5f1f20a5ddd770157555c94ea9a75fbc26abcd
+size 844348
diff --git a/flowblocks/flow_processing.ini b/flowblocks/flow_processing.ini
index dbd4001..fda86c0 100644
--- a/flowblocks/flow_processing.ini
+++ b/flowblocks/flow_processing.ini
@@ -6,3 +6,10 @@ button_label = Zutat verarbeitungsmöglichkeit
label = describe the processing of this item
type = string
description = Examples: whole, diced, minced, steamed, raw
+width = 2/3
+
+[fields.short]
+type = boolean
+label = Kurzbeschreibung
+description = Ankreuzen wenn es hier ausschließlich eine kurzbeschreibung gibt
+width = 1/3
diff --git a/templates/zutaten/rezept.html b/templates/zutaten/rezept.html
index a1171ba..0ed4425 100644
--- a/templates/zutaten/rezept.html
+++ b/templates/zutaten/rezept.html
@@ -28,6 +28,8 @@
{%- include "zutaten/zutaten.html" -%}
+ {%- else -%}
+
ungültige Rezeptangaben
{%- endif -%}
{%- endif -%}
{{- '\n ' -}}
diff --git a/templates/zutaten/zutat_menge.html b/templates/zutaten/zutat_menge.html
index f0d845b..f15fbc6 100644
--- a/templates/zutaten/zutat_menge.html
+++ b/templates/zutaten/zutat_menge.html
@@ -1,117 +1,90 @@
- {%- if ing.ingredient is defined and ing.ingredient != "" -%}
- {%- if ing.amounts is defined and ing.amounts != "" and ing.amounts.blocks is defined and ing.amounts.blocks != "" -%}
- {%- if ing.amounts.blocks != [] -%}
- {%- set ingredient_counter = loop.index -%}
- {%- for amt in ing.amounts.blocks -%}
- {%- if loop.index == prt_loop -%}
- {%- if amt.amount is defined and amt.amount != "" and amt.amount != 0 and amt.amount != '0' -%}
- {{- '\n ' -}}
- {{- '\n ' -}}
- {%- if ing.processing is defined and ing.processing != "" and ing.processing.blocks is defined and ing.processing.blocks != "" -%}
- {%- if ing.processing.blocks != [] -%}
- {{- ' | ' -}}
- Verarbeitungshinweis #{{- ingredient_counter | string -}}
- {%- endif -%}
- {%- endif -%}
- {%- if ing.notes is defined and ing.notes != "" and ing.notes.blocks is defined and ing.notes.blocks != "" -%}
- {%- if ing.notes.blocks != [] -%}
- {{- ' | ' -}}
- Notiz #{{- ingredient_counter | string -}}
- {{- '\n ' -}}
- {%- endif -%}
- {%- endif -%}
- {%- if ing.substitutions is defined and ing.substitutions != "" -%}
- {%- if ing.substitutions.blocks is defined and ing.substitutions.blocks != "" -%}
- {%- if ing.substitutions.blocks != [] -%}
- {{- '\n ' -}}
- {{- '\n ' -}} -
- {{- '\n ' -}} Ausweichmöglichkeit:
- {{- '\n ' -}}
- {%- for sst in ing.substitutions.blocks -%}
- {%- if sst.amounts is defined and sst.amounts != "" and sst.amounts.blocks is defined and sst.amounts.blocks != "" -%}
- {%- if sst.amounts.blocks != [] -%}
- {%- for amt2 in sst.amounts.blocks -%}
- {%- if loop.index == prt_loop -%}
- {%- if amt2.amount is defined and amt2.amount != "" and amt2.amount != 0 and amt2.amount != '0' -%}
- {{- '\n ' -}} -
- {{- '\n ' -}}
- {%- if sst.processing is defined and sst.processing != "" and sst.processing.blocks is defined and sst.processing.blocks != "" -%}
- {%- if sst.processing.blocks != [] -%}
- {{- '\n ' -}}
- {{- '\n ' -}} -
- {{- '\n ' -}}
- Verarbeitungshinweis
- {%- for tmp_prc2 in sst.processing.blocks -%}
- {%- if loop.index == 2 -%}
- {{- 'e' -}}
- {%- endif -%}
- {%- endfor -%}
- :
- {{- '\n ' -}}
-
- {%- for prc2 in sst.processing.blocks -%}
- {{- '\n ' -}} -
- {{- '\n ' -}}
- {{ prc2.process }}
- {{- '\n ' -}}
- {%- endfor -%}
- {{- '\n ' -}}
- {{- '\n ' -}}
- {{- '\n ' -}}
- {%- endif -%}
- {%- endif -%}
- {%- if sst.notes is defined and sst.notes != "" and sst.notes.blocks is defined and sst.notes.blocks != "" -%}
- {%- if ing.notes.blocks != [] -%}
- {{- '\n ' -}}
- {{- '\n ' -}} -
- {{- '\n ' -}}
- Notiz
- {%- for tmp_nde1 in sst.notes.blocks -%}
- {%- if loop.index == 2 -%}
- {{- 'en' -}}
- {%- endif -%}
- {%- endfor -%}
- :
- {{- '\n ' -}}
-
- {%- for nde2 in sst.notes.blocks -%}
- {{- '\n ' -}} -
- {{- '\n ' -}}
- {{ nde2.note }}
- {{- '\n ' -}}
- {%- endfor -%}
- {{- '\n ' -}}
- {{- '\n ' -}}
- {{- '\n ' -}}
- {%- endif -%}
- {%- endif -%}
- {{- '\n ' -}}
- {%- endif -%}
- {%- endif -%}
- {%- endfor -%}
- {%- endif -%}
- {%- endif -%}
- {%- endfor -%}
- {{- '\n ' -}}
- {{- '\n ' -}}
- {{- '\n ' -}}
+{#-
+
+ Hier wird eine Zutaten tabelle gerendert.
+ Zusammen mit einem Link auf den Verarbeitungshinweis
+ oder eine Notiz zur Zutat.
+ Der Text zum Hinweis oder der Notiz wird hier nicht gerendert.
+
+-#}
+{%- if child.ingredients.blocks != [] -%}
+ {%- for ing in child.ingredients.blocks -%}
+ {%- if ing.ingredient is defined and ing.ingredient != "" -%}
+ {%- if ing.amounts is defined and ing.amounts != "" and ing.amounts.blocks is defined and ing.amounts.blocks != "" -%}
+ {%- if ing.amounts.blocks != [] -%}
+ {#-
+
+ Wenn eine Zutat-Menge definiert ist, wird diese im folgenden for loop gerendert.
+ Sollte es unterschiedliche Teig-Mengen geben, ist die reinfolge der Zutatenmenge relevant.
+ Wenn also ein Rezept für 2 größen definiert ist, wird für die erste größe die erste Zutat genommen.
+ Und für die zweite größe die andere.
+
+ ABER, wenn eine der Zutat Null bzw. 0 ist, dann wird diese eine Zutat nicht gerendert.
+
+ -#}
+ {%- set ingredient_counter = loop.index -%}
+ {%- for amt in ing.amounts.blocks -%}
+ {%- if loop.index == prt_loop -%}
+ {%- if amt.amount is defined and amt.amount != "" and amt.amount != 0 and amt.amount != '0' and amt.amount != 'Null' -%}
+ {{- '\n ' -}}
+ {{- '\n ' -}}
+ {#-
+ Hier wird eine kurznotiz zur verarbeitung gerendert
+ oder ein Link zur Verarbeitungsnotiz.
+ -#}
+ {%- if ing.processing is defined and ing.processing != "" and ing.processing.blocks is defined and ing.processing.blocks != "" -%}
+ {%- if ing.processing.blocks != [] -%}
+ {%- for prc in ing.processing.blocks -%}
+ {%- if loop.index == 1 -%}
+ {%- if prc.short|default(False) -%}
+ {{- ' ' -}}
+ ({{ prc.process }})
+ {%- else -%}
+ {{- ' ' -}}
+ (Angaben zur Verarbeitung von {{ ing.ingredient }} beachten)
{%- endif -%}
{%- endif -%}
- {%- endif -%}
- {{- '\n ' -}}
+ {%- endfor -%}
{%- endif -%}
{%- endif -%}
- {%- endfor -%}
+ {%- if ing.substitutions is defined and ing.substitutions != "" -%}
+ {%- if ing.substitutions.blocks is defined and ing.substitutions.blocks != "" -%}
+ {%- if ing.substitutions.blocks != [] -%}
+ {%- for sst in ing.substitutions.blocks -%}
+ {%- if sst.amounts is defined and sst.amounts != "" and sst.amounts.blocks is defined and sst.amounts.blocks != "" -%}
+ {%- if sst.amounts.blocks != [] -%}
+ {%- for amt2 in sst.amounts.blocks -%}
+ {%- if loop.index == prt_loop -%}
+ {%- if amt2.amount is defined and amt2.amount != "" and amt2.amount != 0 and amt2.amount != '0' -%}
+ {{- ' ' -}}
+ {%- endif -%}
{%- endif -%}
- {%- endif -%}
- {%- endif -%}
- {%- endfor -%}
+ {%- endfor -%}
+ {%- else -%}
+ {#-
+ Wenn eine Zutat keine klare Menge hat, wird diese ohne genaue größenangabe gerendert.
+
+ -#}
+ {%- endif -%}
+ {%- endif -%}
+ {%- endif -%}
+ {%- endfor -%}
+{%- endif -%}
diff --git a/templates/zutaten/zutaten.html b/templates/zutaten/zutaten.html
index 0a82190..114f50c 100644
--- a/templates/zutaten/zutaten.html
+++ b/templates/zutaten/zutaten.html
@@ -1,5 +1,8 @@
{#-
- Hier werden die Zutaten für das Rezept gerendert...
+ Hier werden die einzelnen
+ Zutaten für das Rezept gerendert...
+
+ Und falls vorhanden noch der Hinweis auf Angaben zur Zutat.
-#}
{%- for prt in child.servings.blocks -%}
{#-
@@ -22,6 +25,10 @@
{%- if child.ingredients.blocks != [] -%}
{{- '\n ' -}}
+ {#-
+ Hier wird nun die konkrete Zutat angegeben.
+ Also zB. Eier: 4 Stück.
+ -#}
{%- include "zutaten/zutat_menge.html" -%}
{{- '\n ' -}}