{% for posts in posts.chunk(3) %}
    <div class="row">
        {% for post in posts %}
            <div class="col-lg-4">

                <article class="post" aria-label="News Article: {{ post.title }}">

                    <a class="btn btn-info"
                       href="{{ url_route('anomaly.module.posts::posts.index') }}?type={{ post.type.slug }}">
                        {{ post.tag.value ?: post.type.name }}
                    </a>

                    {% if post.type.slug.value == 'events' %}
                        <div class="date">
                            {{ post.date_start.format(config_get('streams::datetime.date_format')) }}
                        </div>
                    {% else %}
                        <div class="date">{{ post.publish_at.format('F j, Y') }}</div>
                    {% endif %}

                    <h4>
                        <a href="{{ post.route('view') }}">
                            {{ post.title }}
                        </a>
                    </h4>

                    <p>{{ post.summary }}</p>

                    <a href="{{ post.route('view') }}" class="readmore">
                        Read More
                    </a>

                </article>

            </div>
        {% endfor %}
    </div>
{% endfor %}
