summaryrefslogtreecommitdiffstats
path: root/templates/includes/book/summary.html
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-03-31 22:35:59 -0700
committerSamy Pessé <samypesse@gmail.com>2014-03-31 22:35:59 -0700
commit0f0128fa493ca6227498b5db529753ab632b2e5a (patch)
tree066210fc4a16ad921ae8aeaa38d9e4baede7ca66 /templates/includes/book/summary.html
parent8edd5e4b3bcef7c84bf0b557a80e3e93e8f47e23 (diff)
downloadgitbook-0f0128fa493ca6227498b5db529753ab632b2e5a.zip
gitbook-0f0128fa493ca6227498b5db529753ab632b2e5a.tar.gz
gitbook-0f0128fa493ca6227498b5db529753ab632b2e5a.tar.bz2
Show level in summary page
Diffstat (limited to 'templates/includes/book/summary.html')
-rw-r--r--templates/includes/book/summary.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/includes/book/summary.html b/templates/includes/book/summary.html
index e9264b2..41586b7 100644
--- a/templates/includes/book/summary.html
+++ b/templates/includes/book/summary.html
@@ -13,14 +13,14 @@
{% for item in summary.chapters %}
<li {% if item._path == _input %}class="active"{% endif %} data-level="{{ item.level }}">
<a href="{{ basePath }}/{{ item.path }}">
- <i class="fa fa-check"></i> {{ item.title }}
+ <i class="fa fa-check"></i> <b>{{ item.level }})</b> {{ item.title }}
</a>
{% if item.articles.length > 0 %}
<ul class="articles">
{% for article in item.articles %}
<li {% if article._path == _input %}class="active"{% endif %} data-level="{{ article.level }}">
<a href="{{ basePath }}/{{ article.path }}">
- <i class="fa fa-check"></i> {{ article.title }}
+ <i class="fa fa-check"></i> <b>{{ article.level }})</b> {{ article.title }}
</a>
</li>
{% endfor %}