{% extends 'admin/_layout.html.twig' %} {% block title %}{{ article.title }} — Articles — Admin{% endblock %} {% block page_title %}Fiche article{% endblock %} {% block page_subtitle %}{{ article.category }}{% endblock %} {% block admin_body %}
{# ── Infos principales ── #}

{{ article.title }}

/blog/{{ article.slug }}/
{{ article.isPublished ? 'Publié' : 'Brouillon' }}
{% if article.imageUrl %}
{{ article.imageAlt|default(article.title) }}
{% endif %}
Extrait {{ article.excerpt }}
Contenu ({{ article.readingMinutes }} min de lecture — {{ article.content|striptags|split(' ')|length }} mots env.)
Afficher le contenu HTML
{{ article.content|e }}
FAQ ({{ article.faq|length }} question{{ article.faq|length > 1 ? 's' : '' }}) {% if article.faq|length %}
    {% for item in article.faq %}
  1. {{ item.q }}
  2. {% endfor %}
{% else %} Aucune — l'article s'affiche sans section FAQ ni JSON-LD FAQPage. {% endif %}
{# ── Métadonnées ── #}

Métadonnées

Catégorie {{ article.category }}
Date de publication {{ article.publishedAt|date('d/m/Y') }}
Page pilier {{ article.pillarRouteName ?? '—' }}
{% if article.authorName %}
Auteur {{ article.authorName }}{% if article.authorRole %} — {{ article.authorRole }}{% endif %}
{% endif %}
Créé le {{ article.createdAt|date('d/m/Y à H:i') }}
{% if article.updatedAt %}
Modifié le {{ article.updatedAt|date('d/m/Y à H:i') }}
{% endif %}

Actions

Modifier Voir sur le site
← Retour à la liste
{# ── Delete modal ── #}

Confirmer la suppression

Supprimer ?
Cette action est irréversible.

{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}