mirror of
https://github.com/arsenetar/pelican-red.git
synced 2024-11-22 11:19:02 +00:00
Andrew Senetar
f2cc7ba260
Utility templates moved to have '_' prefix similar to how sass files are. Aditional templates for article and page footer contents now used to load comments etc.
15 lines
586 B
HTML
15 lines
586 B
HTML
{# Items to include at the bottom of a single page #}
|
|
{# PDF links #}
|
|
{% if PDF_PROCESSOR %}
|
|
<a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">PDF</a>
|
|
{% endif %}
|
|
{# Copyright notice and link #}
|
|
{% if COPYRIGHTS and (COPYRIGHT_PAGE or page.copyright) %}
|
|
<a href="{{ COPYRIGHTS[page.copyright|default(DEFAULT_COPYRIGHT)][1] }}">{{ COPYRIGHTS[page.copyright|default(DEFAULT_COPYRIGHT)][0] }}</a>
|
|
{% endif %}
|
|
{# Comments #}
|
|
{% if ( page.comments == True or ( page.comments is not defined and COMMENTS_PAGE == True ) ) and DISQUS_SN %}
|
|
{% include '_disqus.html' %}
|
|
{% endif %}
|
|
|