diff --git a/templates/_includes/article.html b/templates/_includes/article.html index 5e4a425..bc30918 100644 --- a/templates/_includes/article.html +++ b/templates/_includes/article.html @@ -1,5 +1,8 @@ {% include '_includes/qr_code.html' %} + {% if CUSTOM_HEADER_TEMPLATE %} + {{ CUSTOM_HEADER_TEMPLATE.render({"article": article}) }} + {% endif %} {% if index %} {{ article.title|striptags }} @@ -7,9 +10,6 @@ {% else %} {{ article.title|striptags }} {% endif %} - {% if CUSTOM_HEADER_TEMPLATE %} - {{ CUSTOM_HEADER_TEMPLATE.render({"article": article}) }} - {% endif %} {% include '_includes/article_time.html' %} {% include '_includes/article_stats.html' %}
{% include '_includes/article_time.html' %} {% include '_includes/article_stats.html' %}