diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-03-31 13:59:49 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-03-31 13:59:51 -0700 |
commit | 82b99189b1358424a9c2a622351961caa35cb764 (patch) | |
tree | d3ee2ad8563be75fc1c27c15f19887675445c59b /templates/page.html | |
parent | 3f7f5667e4cab4eeefa89878261274ca52bd2c27 (diff) | |
download | gitbook-82b99189b1358424a9c2a622351961caa35cb764.zip gitbook-82b99189b1358424a9c2a622351961caa35cb764.tar.gz gitbook-82b99189b1358424a9c2a622351961caa35cb764.tar.bz2 |
Add base display of exercise
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page.html b/templates/page.html index cd17fbc..3c2eb89 100644 --- a/templates/page.html +++ b/templates/page.html @@ -11,11 +11,11 @@ <div class="book-body"> <div class="page-inner"> {% for section in content %} - <section class="{{ section.type }}"> + <section class="{{ section.type }}" id="section-{{ section.id }}"> {% if section.type == "normal" %} {% autoescape false %}{{ section.content }}{% endautoescape %} {% elif section.type == "exercise" %} - + {% include "./includes/book/exercise.html" with {section: section} %} {% endif %} </section> {% endfor %} |