grocy-cli/templates/recipe/list.yml

13 lines
401 B
YAML
Raw Normal View History

{% from 'recipe/macro.yml' import render_recipe_fulfilment %}
{% for recipe in grocy.recipes %}
id: {{ recipe.fields.id }}
name: {{ recipe.fields.name }}
base_servings: {{ recipe.fields.base_servings }}
required_fulfilled: {{ render_recipe_fulfilment(recipe.fields.fulfillment, grocy.meta.fa_icons) }}
description: |-
{{ recipe.fields.description }}
{% if loop.nextitem %}
---
{%endif%}
{%endfor %}