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

12 lines
358 B
HTML
Raw Normal View History

2022-09-08 02:16:15 +05:30
{% 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 %}