website/templates/shortcodes/team_box.html
2023-05-12 10:19:07 +02:00

22 lines
588 B
HTML

<div class="team_box">
<div class="team_box-top">
<img class="team_box-img" src="/img/team/{{img|safe}}" alt="{{title}}" loading="lazy" aria-hidden/>
<div class="team_box-text">
<span class="team_box-title">{{title|safe}}</span>
{% if subtitle %}
<br/>
<span class="team_box-subtitle">{{subtitle|safe}}</span>
{% endif %}
{% if place %}
<br/>
<span class="team_box-place">{{place|safe}}</span>
{% endif %}
</div>
</div>
{% if body %}
<div class="team_box-bottom">
<p class="team_box-description">{{body|safe}}</p>
</div>
{% endif %}
</div>