aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/footer.html
diff options
context:
space:
mode:
Diffstat (limited to 'pelican-bootstrap3/templates/includes/footer.html')
-rw-r--r--pelican-bootstrap3/templates/includes/footer.html28
1 files changed, 17 insertions, 11 deletions
diff --git a/pelican-bootstrap3/templates/includes/footer.html b/pelican-bootstrap3/templates/includes/footer.html
index 7e2cf39..7b430cd 100644
--- a/pelican-bootstrap3/templates/includes/footer.html
+++ b/pelican-bootstrap3/templates/includes/footer.html
@@ -1,16 +1,22 @@
<footer>
- <div class="container">
- <hr>
- <p class="pull-right"><i class="icon-arrow-up"></i> <a href="#">Back to top</a></p>
-
- {% if articles %}
+ <div class="container">
+ <hr>
+ <div class="row">
+ {% if articles %}
{% set copy_date = articles[0].date.strftime('%Y') %}
- {% else %}
+ {% else %}
{% set copy_date = '' %}
- {% endif %}
-
- <p>&copy; {{ copy_date }} {{ AUTHOR }} &middot; Powered by <a href="https://github.com/DandyDev/pelican-bootstrap3" target="_blank">pelican-bootstrap3</a>,
+ {% endif %}
+ <div class="col-xs-10">&copy; {{ copy_date }} {{ AUTHOR }}
+ &middot; Powered by <a href="https://github.com/DandyDev/pelican-bootstrap3" target="_blank">pelican-bootstrap3</a>,
<a href="http://docs.getpelican.com/" target="_blank">Pelican</a>,
- <a href="http://getbootstrap.com" target="_blank">Bootstrap</a></p>
- </div>
+ <a href="http://getbootstrap.com" target="_blank">Bootstrap</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}) }}</small></p>
+ {% endif %}
+ </div>
+ <div class="col-xs-2"><p class="pull-right"><i class="fa fa-arrow-up"></i> <a href="#">Back to top</a></p></div>
+ </div>
+ </div>
</footer> \ No newline at end of file