website/templates/home/components/home-card.html

11 lines
358 B
HTML

{% macro home_card(title, description) %}
<div class="home-card__conatiner">
<img
src="{{ get_url(path='/tmp-logo.png', cachebust=true) }}"
alt="Temporary card icon"
class="home-card__icon"
/>
<h3 class="home-card__title">{{ title }}</h3>
<p class="home-card__text">{{ description }}</p>
</div>
{% endmacro home_card %}