From d94b6cfed45d79fa2f0363ef5583591df867a6e1 Mon Sep 17 00:00:00 2001 From: Rick Date: Sun, 31 Jan 2021 13:02:17 +0100 Subject: [PATCH] Ajout du support du plugin Series --- templates/article.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/templates/article.html b/templates/article.html index 853368e..ddb05e1 100644 --- a/templates/article.html +++ b/templates/article.html @@ -14,6 +14,20 @@

{{ article.subtitle }}

{% endif %} + +
+ {% if article.series %} +

Cet article est le numéro {{ article.series.index }} de la série {{ article.series.name }}.

+
    + {% for part_article in article.series.all %} +
  1. + {{ part_article.title }} +
  2. + {% endfor %} +
+ {% endif %} +
+
{{ article.content }}