✨ only show ingredient overview if the recipe has the flag set in tandoor
This commit is contained in:
parent
b111a34804
commit
f310d9aab0
1 changed files with 4 additions and 3 deletions
|
@ -81,6 +81,7 @@ def format_recipe_to_markdown(recipe):
|
||||||
md.append(f"* {p}\n")
|
md.append(f"* {p}\n")
|
||||||
|
|
||||||
# Ingredients
|
# Ingredients
|
||||||
|
if recipe["show_ingredient_overview"]:
|
||||||
md.append("\n## Zutaten (gesamt)")
|
md.append("\n## Zutaten (gesamt)")
|
||||||
for step in recipe["steps"]:
|
for step in recipe["steps"]:
|
||||||
md += md_for_step_ingredients(step)
|
md += md_for_step_ingredients(step)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue