Ajout du plugin drafts

This commit is contained in:
rick 2021-04-07 15:02:32 +02:00
parent bd383f9b4a
commit 414d9cfaa3
Signed by: Rick
GPG key ID: 2B593F087240EE99
2 changed files with 15 additions and 1 deletions

View file

@ -22,4 +22,7 @@ NUIR_AUTHORS = {
## Support de plugins
Ce thème ne supporte pour linstant 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)

11
templates/drafts.html Normal file
View file

@ -0,0 +1,11 @@
{% extends "base.html" %}
{% import "macros.html" as macro %}
{% block content %}
<div id="cat-header">
<h1>Brouillons</h1>
<hr />
</div>
{{ macro.listArticles(drafts) }}
{% endblock content %}