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/pagination.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/pagination.html')
-rw-r--r-- | pelican-bootstrap3/templates/includes/pagination.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pelican-bootstrap3/templates/includes/pagination.html b/pelican-bootstrap3/templates/includes/pagination.html index e74cdba..cb34fa5 100644 --- a/pelican-bootstrap3/templates/includes/pagination.html +++ b/pelican-bootstrap3/templates/includes/pagination.html @@ -2,15 +2,15 @@ {% if USE_PAGER %} <ul class="pager"> {% if articles_page.has_previous() %} - <li class="previous"><a href="{{ SITEURL }}/{{ articles_previous_page.url }}">← Newer</a></li> + <li class="previous"><a href="{{ SITEURL }}/{{ articles_previous_page.url }}">← {{ _('Newer') }}</a></li> {% else %} - <li class="previous disabled"><a href="#">← Newer</a></li> + <li class="previous disabled"><a href="#">← {{ _('Newer') }}</a></li> {% endif %} {% if articles_page.has_next() %} <li class="next"><a - href="{{ SITEURL }}/{{ articles_next_page.url }}">Older →</a></li> + href="{{ SITEURL }}/{{ articles_next_page.url }}">{{ _('Older') }} →</a></li> {% else %} - <li class="next disabled"><a href="#">Older →</a></li> + <li class="next disabled"><a href="#">{{ _('Older') }} →</a></li> {% endif %} </ul> {% else %} @@ -34,4 +34,4 @@ {% endif %} </ul> {% endif %} -{% endif %}
\ No newline at end of file +{% endif %} |