{# /* * This file is part of the Sonata package. * * (c) Thomas Rabaix * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #} {% sonata_template_box 'This is the archive template. Feel free to override it.' %} {% block sonata_page_breadcrumb %}
{{ sonata_block_render_event('breadcrumb', { 'context': 'news_archive', 'collection': collection, 'tag': tag, 'current_uri': app.request.requestUri }) }}
{% endblock %}

{{ 'title_archive'|trans({}, 'SonataNewsBundle') }}

{% for post in pager.getResults() %}

{{ post.title }}

{{ post.abstract }}

{% else %} {{ 'no_post_found'|trans({}, 'SonataNewsBundle') }} {% endfor %}