Ikonka chilli pro recepty s tagem "pikantní"

This commit is contained in:
Emil Miler
2021-03-14 16:32:37 +01:00
parent edf9ca29f4
commit b7c7def1b6
13 changed files with 41 additions and 25 deletions

View File

@ -1,5 +1,14 @@
{% macro print_recipe(recipe) %}
<article>
<article
{% if recipe.taxonomies.tagy %}
{% for tag in recipe.taxonomies.tagy %}
{% if tag == "pikantní" %}
class="chilli"
{% break %}
{% endif %}
{% endfor %}
{% endif %}
>
<a href="{{ recipe.permalink }}">
{% set_global image_found = 0 %}
{% for asset in recipe.assets %}