{# Used for the building block: Double Post cards #}
<article class="card card--small {{ extraClass }}">
    {% block content %}
        <div class="card__content">
            <h2 class="card__title">{{ post.title }}</h2>
        </div>
    {% endblock %}

    {% block footer %}
        <div class="card__footer">
            <div class="button--round">
                {{ icon('arrow-right', 'arrow-right') }}
            </div>
        </div>
    {% endblock %}

    {% block link %}
        {% if post.link %}
            <a href="{{ post.link }}" class="card__link-overlay"><span class="hide-item">{{ post.title }}</span></a>
        {% endif %}
    {% endblock %}
</article>
