A mini theme for the pelican static site generator
git clone https://github.com/m-col/mini-theme
Files | Refs | Readme

Commit b875c0143dc8b9a2746104bf32ae3226d27a8dbe
Parent: 65a72d9badcf907a9e548aa5f977a1b3b2957268
Author: mcol <mcol@posteo.net>
Date: 2020-10-04 12:36:00 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2020-10-04 12:36:00 +0100

add ARTICLE_FEEDBACK variable to append block to articles

templates/article.html Modified

@@ -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 %}