bootstrap4-theme/templates/includes/footer.html

31 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2019-04-19 18:30:55 +00:00
<footer>
<div class="container{% if BOOTSTRAP_FLUID %}-fluid{% endif %}">
<hr>
<div class="row">
{% if articles %}
{% if articles[0].modified %}
{% set copy_date = articles[0].modified.strftime('%Y') %}
{% else %}
{% set copy_date = articles[0].date.strftime('%Y') %}
{% endif %}
{% else %}
{% set copy_date = '' %}
{% endif %}
<div class="col-9">
&copy; {{ copy_date }} {{ AUTHOR }}.
{{ _('Powered by') }}
<a href="http://docs.getpelican.com/" target="_blank">Pelican</a>,
<a href="http://getbootstrap.com" target="_blank">Bootstrap</a>,
<a href="https://git.246060.ru/f1x1t/pelican-theme-bootstrap4" target="_blank">pelican-bootstrap4</a>
{%- if CC_LICENSE or CC_LICENSE_DERIVATIVES or CC_LICENSE_COMMERCIAL %}
{% from 'includes/cc-license.html' import cc_license_mark %}
<p><small>{{ cc_license_mark(cc_name=CC_LICENSE,derivatives=CC_LICENSE_DERIVATIVES,commercial=CC_LICENSE_COMMERCIAL,attr_markup=CC_ATTR_MARKUP,attr_props={'title':SITENAME,'name':article.author if article else AUTHOR,'url':SITEURL,'lang':DEFAULT_LANG}) }}</small></p>
{% elif CUSTOM_LICENSE %}
<p><small>{{ CUSTOM_LICENSE }}</small></p>
{% endif %}
</div>
<div class="col-3"><p class="pull-right"><a href="#"><i class="fa fa-arrow-up"></i>&nbsp;{{ _('Back to top') }}</a></p></div>
</div>
</div>
</footer>