diff options
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..a0f1e89 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,25 @@ +{% extends "layout.html" %} + +{% block title %}{{ input }} {{ title }}{% parent %}{% endblock %} +{% block description %}{% endblock %} +{% block robots %}index, follow{% endblock %} +{% block content %} +<div class="book {% if input == "README.md" %}with-summary{% endif %}"> + {% include "includes/book/header.html" %} + {% include "includes/book/summary.html" %} + + <div class="book-body"> + <div class="page-inner"> + {% for section in content %} + <section class="{{ section.type }}"> + {% if section.type == "normal" %} + {% autoescape false %}{{ section.content }}{% endautoescape %} + {% elif section.type == "exercise" %} + + {% endif %} + </section> + {% endfor %} + </div> + </div> +</div> +{% endblock %}
\ No newline at end of file |