{% set articles = taxonomy.findTaxonomy({'category': category}).order('title') %}

{# Check to see if a dedicated category page exists #} {% set slug = category|hyphenize|url_encode %} {% set p = page.find('/categories/'~slug) %} {% if p == null %} {{ category|e }} {% else %} {{ category|e }} {% endif %} ({{ articles|length }})

{% include 'partials/topiclist.html.twig' with {'articles': articles, 'maxcount': maxcount} %}