From 414d9cfaa32361790c0c68333ca45350be3d1813 Mon Sep 17 00:00:00 2001 From: rick Date: Wed, 7 Apr 2021 15:02:32 +0200 Subject: [PATCH] Ajout du plugin drafts --- README.md | 5 ++++- templates/drafts.html | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 templates/drafts.html diff --git a/README.md b/README.md index 500b7ae..df92923 100644 --- a/README.md +++ b/README.md @@ -22,4 +22,7 @@ NUIR_AUTHORS = { ## Support de plugins -Ce thème ne supporte pour l’instant que le plugin [Series](https://github.com/getpelican/pelican-plugins/tree/master/series). +Ce thème supporte les plugins suivant : + +* [Series](https://github.com/getpelican/pelican-plugins/tree/master/series). +* [Drafts](https://github.com/noirbizarre/pelican-drafts) diff --git a/templates/drafts.html b/templates/drafts.html new file mode 100644 index 0000000..1f676ba --- /dev/null +++ b/templates/drafts.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% import "macros.html" as macro %} +{% block content %} +
+

Brouillons

+
+
+ +{{ macro.listArticles(drafts) }} + +{% endblock content %}