{% if tease_lg %}
    <a href="#" class="tease">
        <p class="tease__title">{{post.title}}</p>
        <div class="tease__img">
        {% if post.featured_image %}
            {% include "../layout/partials/picture.twig" with {"image": post.featured_image } %}
        {% endif %}
        </div>
        
        <div class="tease__excerpt">
            <p>{{post.excerpt}}</p>
        </div>
    </a>
{% else %}
    <a href="#" class="tease tease--sm">
        <div class="tease__img">
        {% if post.featured_image %}
            {% include "../layout/partials/picture.twig" with {"image": post.featured_image } %}
        {% endif %}
        </div>
        
        <div class="tease__main">
            <div class="tease-main-header">
                {% set post_term = post.terms[0] %}
                <span>{{taxonomies[~type~].terms[~post_term~].name}}</span>
                <span>{{post.date|date('d.m.Y')}}</span>
            </div>
            <p class="tease-main-title">{{post.title}}</p>
        </div>
    </a>
{% endif %}

