summaryrefslogtreecommitdiffstats
path: root/theme/templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/page.html')
-rw-r--r--theme/templates/page.html4
1 files changed, 2 insertions, 2 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>