Add "id-tag__{property}" class to each div.

This commit is contained in:
paul121 2021-06-04 10:20:16 -07:00 committed by Michael Stenta
parent 3bc1871e39
commit bda93d4373
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
{# Use a macro to render each id-tag item. Each property is wrapped in its own div. #}
{% macro id_tag(item) %}
{% for property in item.content %}
<div>{{ property }}</div>
<div class="id-tag__{{ _key }}">{{ property }}</div>
{% endfor %}
{% endmacro %}