{% from "atoms.html" import tag %} {% if is_htmx_search is true %} search - chef {% endif %}
{% for recipe in recipes %}
{% if recipe.image %}
{{ recipe.name }}
{% endif %}

{{ recipe.name|default(recipe.fallback_name) }}

{% if recipe.emoji %}
{{ recipe.emoji }}
{% else %}
{% endif %} {% if recipe.desc %}

{{ recipe.desc }}

{% endif %} {% if recipe.tags %}
{% for t in recipe.tags %} {{ tag(t.name, t.emoji) }} {% endfor %}
{% endif %} {% if (recipe.desc is none) and (recipe.tags is empty) %} {% endif %} {% if recipe.error %}

{{ t("error.parse") }}

{% endif %}
{% endfor %}
{% if recipes|length == 0 %}
{{ t('index.noRecipes') }}
{% endif %}