{{ article.getDate()|date('d/m/Y') }} {% for category in article.getCategories() %} {%- spaceless -%} {# @var category \Pimcore\Model\DataObject\BlogCategory #} {%- if loop.index0 > 0 -%}, {% endif -%}{{ category.getName() }} {%- endspaceless -%} {% endfor %}