<li class=“content__listing__item” style=“background-image: url('{{post.image}}'); background-size: cover; background-position: center center; background-repeat: no-repeat;”>

<a href="{{ post.url }}">
        {% if post.collection == "blog" or post.collection == "photos" %}
        <h6 class="content__listing__year">{{post.date | date_to_xmlschema | date: "%a, %b %d, %Y"}}</h6>
        {% elsif post.collection == "work" %}
        <h6 class="content__listing__year">{{post.date | date: "%Y"}}</h6>
        {% endif %}
        <h3 class="content__listing__title">{{post.title}}</h3>
        {% if post.tags %}
        <h6 class="content__listing__tags">{{post.tags"}}</h6>
        {% endif %}
        <div class="content__listing__overlay"></div>
</a>

</li>