diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-03-11 22:02:46 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-03-11 22:02:46 +0100 |
commit | 50bc89d9d9653113d8fd2965094c68cb10b8529b (patch) | |
tree | dfde2a00e5686a9235c3d808c8d1515264475580 /theme | |
parent | 743a88f53af9a0a2a5d9d601b91f59ddafd48144 (diff) | |
download | gitbook-50bc89d9d9653113d8fd2965094c68cb10b8529b.zip gitbook-50bc89d9d9653113d8fd2965094c68cb10b8529b.tar.gz gitbook-50bc89d9d9653113d8fd2965094c68cb10b8529b.tar.bz2 |
Fix define of introduction from summary
Diffstat (limited to 'theme')
-rw-r--r-- | theme/templates/website/includes/summary.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/templates/website/includes/summary.html b/theme/templates/website/includes/summary.html index 6aa523b..9b9de32 100644 --- a/theme/templates/website/includes/summary.html +++ b/theme/templates/website/includes/summary.html @@ -8,7 +8,7 @@ {% if item.level != "0" %} <b>{{ item.level }}.</b> {% endif %} - {% if item.introduction %}{% i18n "SUMMARY_INTRODUCTION" %}Introduction{% endi18n %}{% else %}{{ item.title }}{% endif %} + {% if item.introduction and not item.title %}{% i18n "SUMMARY_INTRODUCTION" %}Introduction{% endi18n %}{% else %}{{ item.title }}{% endif %} </a> {% else %} <a target="_blank" href="{{ item.path }}"> |