{% extends 'base.html.twig' %} {% block title %}Post{% endblock %} {% block body %}
Titre | {{ post.title }} |
---|---|
Contenu | {{ post.content | raw }} |
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 %} |