<div id="news">
    <div class="container">

        <div class="title">
            News
            <span class="separator">/</span>
            <span class="tagline">What is going on?</span>
        </div>

        <div class="row">

            {% for post in entries('posts').type('news').recent().limit(3).get() %}
                <div class="col-lg-4">

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

                        <div class="date">{{ post.publish_at.format('F j, Y') }}</div>

                        <h4>{{ post.title }}</h4>

                        <p>{{ post.summary|str_purify|raw }}</p>
                    </div>

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

                </div>
            {% endfor %}

        </div>
    </div>
</div>
