diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-09-17 13:08:30 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-09-17 13:08:30 +0200 |
commit | 11b299653f64eff2c997602bdd29cf07b6fa80e8 (patch) | |
tree | 1f818c2c1ce9dead652ffaf648adc57a2dd04d95 /theme/templates | |
parent | c8c07fe8ce7ccc3b4a83412025123cc05853dc40 (diff) | |
download | gitbook-11b299653f64eff2c997602bdd29cf07b6fa80e8.zip gitbook-11b299653f64eff2c997602bdd29cf07b6fa80e8.tar.gz gitbook-11b299653f64eff2c997602bdd29cf07b6fa80e8.tar.bz2 |
Remove githubId
Enable hook for ebook
Diffstat (limited to 'theme/templates')
-rw-r--r-- | theme/templates/page.html | 4 | ||||
-rw-r--r-- | theme/templates/site.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/theme/templates/page.html b/theme/templates/page.html index 9c58ab1..89ffc24 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -41,7 +41,7 @@ <article id="{{ article.path }}"> <h1 class="book-chapter book-chapter-{{ item.level|lvl }}">{{ item.title }}</h1> {% if pages[item.path] %} - {{ articleContent(pages[item.path].content) }} + {{ articleContent(pages[item.path].sections) }} {% endif %} </article> {% endfor %} @@ -56,7 +56,7 @@ {% for item in progress.chapters %} {% if pages[item.path] %} - {% for section in pages[item.path].content %} + {% for section in pages[item.path].sections %} {% if section.type == "exercise" %} <div class="exercise"> <div class="exercise-header">Exercise #{{ exercise }}</div> diff --git a/theme/templates/site.html b/theme/templates/site.html index 7db7449..cf90c9a 100644 --- a/theme/templates/site.html +++ b/theme/templates/site.html @@ -17,7 +17,7 @@ {% block description %}{% if progress.current.level == "0" %}{{ description }}{% endif %}{% endblock %} {% block content %} - <div class="book" {% if githubId %}data-github="{{ githubId }}"{% endif %} data-level="{{ progress.current.level }}" data-basepath="{{ basePath }}" data-revision="{{ revision }}"> + <div class="book" data-level="{{ progress.current.level }}" data-basepath="{{ basePath }}" data-revision="{{ revision }}"> {% include "includes/book/summary.html" %} <div class="book-body"> <div class="body-inner"> |