a mini theme for pelican
git clone https://mcol.xyz/code/mini-theme
Log | Files | Refs | README

commit b875c0143dc8b9a2746104bf32ae3226d27a8dbe
parent 65a72d9badcf907a9e548aa5f977a1b3b2957268
Author: mcol <mcol@posteo.net>
Date:   Sun,  4 Oct 2020 12:36:00 +0100

add ARTICLE_FEEDBACK variable to append block to articles

Diffstat:
Mtemplates/article.html | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/templates/article.html b/templates/article.html @@ -20,6 +20,10 @@ {{ article.content }} +{% if ARTICLE_FEEDBACK %} +<hr>{{ ARTICLE_FEEDBACK }} +{% endif %} + <footer><hr> Published @ <time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time> {% if article.category %}in <a href="/{{ article.category.url }}">{{ article.category }}</a>{% endif %}