diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-06 15:02:40 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-12-13 18:46:05 +0100 |
commit | db5388e47885b76083ee6a169863b5e718ca1246 (patch) | |
tree | 218cfce1037c099a650cbb382b69d50de681f5e8 /pelican-bootstrap3/templates/includes/footer.html | |
parent | 30c807519db25e1c9246a6c53b7545b36a2f1895 (diff) | |
download | pelican-themes-db5388e47885b76083ee6a169863b5e718ca1246.tar.gz |
Make pelican-bootstrap3 multilingual
This makes use of the i18n jinja extension as described in README.md.
A Makefile is provided to facilitate new translations. A translation to
German is also included.
Diffstat (limited to 'pelican-bootstrap3/templates/includes/footer.html')
-rw-r--r-- | pelican-bootstrap3/templates/includes/footer.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pelican-bootstrap3/templates/includes/footer.html b/pelican-bootstrap3/templates/includes/footer.html index b792835..ec0f258 100644 --- a/pelican-bootstrap3/templates/includes/footer.html +++ b/pelican-bootstrap3/templates/includes/footer.html @@ -12,17 +12,17 @@ {% set copy_date = '' %} {% endif %} <div class="col-xs-10">© {{ copy_date }} {{ AUTHOR }} - · Powered by <a href="https://github.com/getpelican/pelican-themes/tree/master/pelican-bootstrap3" target="_blank">pelican-bootstrap3</a>, + · {{ _('Powered by') }} <a href="https://github.com/getpelican/pelican-themes/tree/master/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> {%- 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> + <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-xs-2"><p class="pull-right"><i class="fa fa-arrow-up"></i> <a href="#">Back to top</a></p></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> |