{% extends 'base.html.twig' %} {% block title %}Post{% endblock %} {% block body %}

Actualité

{{ include('admin_post/_delete_form.html.twig') }}
Modifier l'actualité
{% if post.picture %} {% endif %} {% if post.externalLinkTarget %} {% endif %}
Titre {{ post.title }}
Contenu {{ post.content | raw }}
Photo Photo
Lien externe {{ post.externalLinkLabel ?: "Lire la suite" }}
Date de publication {{ post.publicationDate ? post.publicationDate|date('Y-m-d H:i:s') : '' }}
Auteur {{ post.author.firstName }} {{ post.author.lastName }}
Catégories {% for categorie in post.postCategories %} {{ categorie.title }} {% if not loop.last %}
{% endif %} {% endfor %}
{% endblock %}