wtf-webseite/templates/macros/services_cards.html

15 lines
597 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 class="servies_card__img_credits">
{{ card.image_credits }}
</div>
</div>
</div>
{% endmacro %}