{% if posts|length > 0 %}
{% set siteName = site.internalName|param(app.request.server.get('REQUEST_URI')) %}
{% for post in posts %}
{% set siteName = siteName|merge({'post':post.id}) %}
{% endfor %}
{% else %}
{{ post.creationDate | date('d/m') }}
{{ post.creationDate | date('Y') }}
{{ post.title }}
{{ post.introduction }}
Aucun article n'a été publié.
{% endif %}