2013-07-14 04:55:29 +00:00
|
|
|
{# Items to include at the bottom of a single page #}
|
2013-07-29 20:09:35 +00:00
|
|
|
<ul class='no-bullet'>
|
|
|
|
{# Translations #}
|
|
|
|
{% import '_translations.html' as translations with context %}
|
|
|
|
{# translations.translations_for(page) }} #}
|
2013-07-14 04:55:29 +00:00
|
|
|
{# PDF links #}
|
2013-07-29 20:09:35 +00:00
|
|
|
{% if PDF_GENERATOR %}
|
|
|
|
<li><a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf" title="Download PDF"><i class="large icon-newspaper"></i> Download PDF</a>
|
2013-07-14 04:55:29 +00:00
|
|
|
{% endif %}
|
|
|
|
{# Copyright notice and link #}
|
2013-07-29 20:09:35 +00:00
|
|
|
{% if COPYRIGHTS and ((COPYRIGHT_PAGE and DEFAULT_COPYRIGHT and page.copyright is not defined) or page.copyright) %}
|
2013-07-28 09:43:18 +00:00
|
|
|
{% set copyright = page.copyright|default(DEFAULT_COPYRIGHT) %}
|
2013-07-29 20:09:35 +00:00
|
|
|
<li>Page content licensed under:
|
2013-07-28 09:43:18 +00:00
|
|
|
<a href="{{ COPYRIGHTS[copyright][1] }}" title="{{ COPYRIGHTS[copyright][0] }}">
|
|
|
|
{# Output creative commons icons instead of text #}
|
|
|
|
{% if 'cc' in copyright %}
|
|
|
|
<i class="large icon-cc"></i>
|
|
|
|
<i class="large icon-cc-by"></i>
|
|
|
|
{% if 'nc' in copyright %}
|
|
|
|
<i class="large icon-cc-nc"></i>
|
|
|
|
{% endif %}
|
|
|
|
{% if 'sa' in copyright %}
|
|
|
|
<i class="large icon-cc-sa"></i>
|
|
|
|
{% elif 'nd' in copyright %}
|
|
|
|
<i class="large icon-cc-nd"></i>
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
{{ COPYRIGHTS[copyright][0] }}
|
|
|
|
{% endif %}
|
|
|
|
</a>
|
2013-07-29 20:09:35 +00:00
|
|
|
</li>
|
2013-07-14 04:55:29 +00:00
|
|
|
{% endif %}
|
2013-07-29 20:09:35 +00:00
|
|
|
</ul>
|
2013-07-14 04:55:29 +00:00
|
|
|
{# Comments #}
|
|
|
|
{% if ( page.comments == True or ( page.comments is not defined and COMMENTS_PAGE == True ) ) and DISQUS_SN %}
|
|
|
|
{% include '_disqus.html' %}
|
|
|
|
{% endif %}
|
|
|
|
|