diff options
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 %} |