aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/archives.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-10-06 15:02:40 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2016-12-13 18:46:05 +0100
commitdb5388e47885b76083ee6a169863b5e718ca1246 (patch)
tree218cfce1037c099a650cbb382b69d50de681f5e8 /pelican-bootstrap3/templates/archives.html
parent30c807519db25e1c9246a6c53b7545b36a2f1895 (diff)
downloadpelican-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/archives.html')
-rw-r--r--pelican-bootstrap3/templates/archives.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/pelican-bootstrap3/templates/archives.html b/pelican-bootstrap3/templates/archives.html
index 8875de0..2a8dcfc 100644
--- a/pelican-bootstrap3/templates/archives.html
+++ b/pelican-bootstrap3/templates/archives.html
@@ -1,17 +1,17 @@
{% extends "base.html" %}
-{% block title %}Archives - {{ SITENAME }}{% endblock %}
+{% block title %}{{ _('Archives') }} - {{ SITENAME }}{% endblock %}
{% block breadcrumbs %}
{% if DISPLAY_BREADCRUMBS %}
<ol class="breadcrumb">
<li><a href="{{ SITEURL }}" title="{{ SITENAME }}"><i class="fa fa-home fa-lg"></i></a></li>
- <li class="active">Archives</li>
+ <li class="active">{{ _('Archives') }}</li>
</ol>
{% endif %}
{% endblock %}
{% block content %}
<section id="content">
- <h1>Archives for {{ SITENAME }}</h1>
+ <h1>{{ _('Archives for') }} {{ SITENAME }}</h1>
<div id="archives">
{% for article in dates %}
<p>