1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2024-10-22 01:15:56 +00:00
pelican-red/templates/_page_footer.html
Andrew Senetar b7efae362c Initial release version of templates
The templates in this commit are now in RC form.
Everything but the article templates are ready.

Changes include ( no limited to ):
- Update stylesheet
- Add method in app.js to handle images in documents
- Create _author_item.html to display author information and vcard
- Update _disqus.html to fit in with site style
- Update _page_footer.html for translation support
- Add _pagination.html for pagination support
- Add _translations.html for translation listing support
- Minor updates to archives.html, tags.html
- Update base.html to have more flexibility
- Update authors.html and author.html to display information
- Update category.html and categories.html to use the _list_item.html
- Update page translation support + misc
- Update tag.html to use _list_item.html
2013-07-29 16:09:35 -04:00

39 lines
1.4 KiB
HTML

{# Items to include at the bottom of a single page #}
<ul class='no-bullet'>
{# Translations #}
{% import '_translations.html' as translations with context %}
{# translations.translations_for(page) }} #}
{# PDF links #}
{% if PDF_GENERATOR %}
<li><a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf" title="Download PDF"><i class="large icon-newspaper"></i> Download PDF</a>
{% endif %}
{# Copyright notice and link #}
{% if COPYRIGHTS and ((COPYRIGHT_PAGE and DEFAULT_COPYRIGHT and page.copyright is not defined) or page.copyright) %}
{% set copyright = page.copyright|default(DEFAULT_COPYRIGHT) %}
<li>Page 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>
{% endif %}
</ul>
{# Comments #}
{% if ( page.comments == True or ( page.comments is not defined and COMMENTS_PAGE == True ) ) and DISQUS_SN %}
{% include '_disqus.html' %}
{% endif %}