1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2024-10-30 03:45:57 +00:00
pelican-red/templates/_article_footer.html

15 lines
613 B
HTML
Raw Normal View History

{# Items to include at the bottom of a single article #}
{# PDF links #}
{% if PDF_PROCESSOR %}
<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">PDF</a>
{% endif %}
{# Copyright notice and link #}
{% if COPYRIGHTS and (COPYRIGHT_ARTICLE or article.copyright) %}
<a href="{{ COPYRIGHTS[article.copyright|default(DEFAULT_COPYRIGHT)][1] }}">{{ COPYRIGHTS[article.copyright|default(DEFAULT_COPYRIGHT)][0] }}</a>
{% endif %}
{# Comments #}
{% if ( article.comments == True or ( article.comments is not defined and COMMENTS_ARTICLE == True ) ) and DISQUS_SN %}
{% include '_disqus.html' %}
{% endif %}