wtf-webseite/templates/macros/services_cards.html

12 lines
475 B
HTML
Raw Normal View History

{% macro render_services_card(card, index) %}
<div class="services_card {% if index%2 %}-odd{% else %}-even{% endif %}">
<div class="services_card__image_box">
<img src="/{{ card.card_image }}" alt="" aria-hidden="true">
</div>
<div class="services_card__text_box">
<h2>{{ card.card_title }}</h2>
{{ card.card_text }}
</div>
</div>
{% endmacro %}