grocy-cli/templates/recipe/view.yml

14 lines
478 B
YAML

{% from 'recipe/macro.yml' import ingredient_label, render_stock_fulfilment %}
name: {{ grocy.fields.name }}
servings: {{ grocy.fields.base_servings }}
costs: {{ grocy.fields.fulfillment.costs }}
ingredients: {% for ingredient in grocy.meta.recipes.ingredients.valid_values %}
{{ ingredient_label(ingredient) }} {{ render_stock_fulfilment(ingredient, grocy.meta.fa_icons) }}
note: {{ ingredient.note }} {% endfor %}
description: |-
{{ grocy.fields.description }}