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

{{ post.title }}

{% for postCategory in post.postCategories %} {{ postCategory.title }} {% endfor %}

{% if post.picture %}

Photo

{% endif %} {{ post.content | raw }} {% if post.externalLinkTarget %}

{{ post.externalLinkLabel ?: "Lire la suite" }}

{% endif %}

Publié le {{ post.publicationDate|date('d-m-Y') }} par {{ post.author.firstName }} {{ post.author.lastName }}

{% if not post.postDocuments.empty %} {% endif %}
{% include "post/_commentPost.html.twig" %} {% endblock %} {% block javascripts %} {{ parent() }} {{ encore_entry_script_tags('post') }} {% endblock %}