From db5388e47885b76083ee6a169863b5e718ca1246 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 6 Oct 2016 15:02:40 +0200 Subject: 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. --- pelican-bootstrap3/templates/categories.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pelican-bootstrap3/templates/categories.html') diff --git a/pelican-bootstrap3/templates/categories.html b/pelican-bootstrap3/templates/categories.html index 6898f97..6f3e8f5 100644 --- a/pelican-bootstrap3/templates/categories.html +++ b/pelican-bootstrap3/templates/categories.html @@ -1,18 +1,18 @@ {% extends "base.html" %} -{% block title %}Categories - {{ SITENAME }}{% endblock %} +{% block title %}{{ _('Categories') }} - {{ SITENAME }}{% endblock %} {% block breadcrumbs %} {% if DISPLAY_BREADCRUMBS %} {% endif %} {% endblock %} {% block content %}
-

All Categories for {{ SITENAME }}

+

{{ _('All Categories for') }} {{ SITENAME }}

{% for category, articles in categories %}
-- cgit