summaryrefslogtreecommitdiffstats
path: root/theme/templates/includes/page/exercise.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/includes/page/exercise.html')
-rw-r--r--theme/templates/includes/page/exercise.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/theme/templates/includes/page/exercise.html b/theme/templates/includes/page/exercise.html
new file mode 100644
index 0000000..da47cc0
--- /dev/null
+++ b/theme/templates/includes/page/exercise.html
@@ -0,0 +1,6 @@
+<div class="exercise-header">Exercise</div>
+{% autoescape false %}{{ section.content }}{% endautoescape %}
+<pre><code>{% autoescape false %}{{ section.code.base|code }}{% endautoescape %}</code></pre>
+<hr>
+<p>Solution:</p>
+<pre><code>{% autoescape false %}{{ section.code.solution|code }}{% endautoescape %}</code></pre>