2013-07-14 04:55:29 +00:00
|
|
|
{# Items to include at the bottom of a single article #}
|
2013-07-30 19:02:19 +00:00
|
|
|
<ul class='no-bullet no-margin'>
|
|
|
|
{# Translations #}
|
|
|
|
{% import 'translations.html' as translations with context %}
|
|
|
|
{{ translations.translations_for(article) }}
|
2013-07-14 04:55:29 +00:00
|
|
|
{# PDF links #}
|
2013-07-30 19:02:19 +00:00
|
|
|
{% if PDF_GENERATOR %}
|
|
|
|
<li><a href="{{ SITEURL }}/pdf/{{ article.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-30 19:02:19 +00:00
|
|
|
{% if COPYRIGHTS and ((COPYRIGHT_ARTICLE and DEFAULT_COPYRIGHT and article.copyright is not defined) or article.copyright) %}
|
|
|
|
{% set copyright = article.copyright|default(DEFAULT_COPYRIGHT) %}
|
|
|
|
<li>Article content licensed under:
|
|
|
|
<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>
|
|
|
|
</li>
|
2013-07-14 04:55:29 +00:00
|
|
|
{% endif %}
|
2013-07-30 19:02:19 +00:00
|
|
|
{% if article.metadata.parts_articles %}
|
|
|
|
<li class="pagination-centered"><ul class="parts pagination">
|
|
|
|
{% for part_article in article.metadata.parts_articles %}
|
|
|
|
{% if part_article == article %}
|
|
|
|
<li class="current"><a title="Current Article">{{ part_article.title }}</a></li>
|
|
|
|
{% else %}
|
|
|
|
<li><a href='{{ SITEURL }}/{{ part_article.url }}'>{{ part_article.title }}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul></li>
|
|
|
|
{% endif %}
|
|
|
|
<li><ul class="no-bullet no-margin">
|
|
|
|
{% if article.prev_article %}
|
|
|
|
<li class="left"><a href="{{ SITEURL }}/{{ article.prev_article.url}}">{{ article.prev_article.title }} (Older)</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% if article.next_article %}
|
|
|
|
<li class="right"><a href="{{ SITEURL }}/{{ article.next_article.url}}">{{ article.next_article.title }} (Newer)</a></li>
|
|
|
|
{% endif %}
|
|
|
|
</ul></li>
|
2013-07-14 04:55:29 +00:00
|
|
|
{# Comments #}
|
|
|
|
{% if ( article.comments == True or ( article.comments is not defined and COMMENTS_ARTICLE == True ) ) and DISQUS_SN %}
|
|
|
|
{% include '_disqus.html' %}
|
|
|
|
{% endif %}
|
|
|
|
|