diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-03-24 23:49:12 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-03-24 23:49:12 +0100 |
commit | b7da276ae034d22e34ec92b3d8332f0558b97499 (patch) | |
tree | 075d95fdadef5b894dd94a454ae8649c405513a5 /theme | |
parent | bf7c0989f5c9c21e589073a1a52870b90763f4b3 (diff) | |
download | gitbook-b7da276ae034d22e34ec92b3d8332f0558b97499.zip gitbook-b7da276ae034d22e34ec92b3d8332f0558b97499.tar.gz gitbook-b7da276ae034d22e34ec92b3d8332f0558b97499.tar.bz2 |
Fix title for introduction (with i18n)
Diffstat (limited to 'theme')
-rw-r--r-- | theme/templates/website/page.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/templates/website/page.html b/theme/templates/website/page.html index 37fc9dd..d4b5e0b 100644 --- a/theme/templates/website/page.html +++ b/theme/templates/website/page.html @@ -10,7 +10,7 @@ {% endif %} {% endblock %} -{% block title %}{{ progress.current.title }} | {{ title }}{% endblock %} +{% block title %}{% if progress.current.introduction and not progress.current.title %}{% i18n "SUMMARY_INTRODUCTION" %}Introduction{% endi18n %}{% else %}{{ progress.current.title }}{% endif %} | {{ title }}{% endblock %} {% block description %}{% if progress.current.level == "0" %}{{ description }}{% endif %}{% endblock %} {% block content %} |