{% extends "layout.html" %} {% block htmlTag %}{% if options.cache !== false %}manifest="{{ basePath }}/manifest.appcache"{% endif %}{% endblock %} {% block head %} {% parent %} {% if githubAuthor %} {% endif %} {% if progress.current.next and progress.current.next.path %} {% endif %} {% if progress.current.prev and progress.current.prev.path %} {% endif %} {% endblock %} {% block title %}{{ progress.current.title }} | {{ title }}{% endblock %} {% block description %}{% if progress.current.level == "0" %}{{ description }}{% endif %}{% endblock %} {% block content %}
{% include "includes/book/header.html" %} {% include "includes/book/summary.html" %}
{% include "includes/book/progress.html" %}
{% for section in content %}
{% if section.type == "normal" %} {% autoescape false %}{{ section.content }}{% endautoescape %} {% elif section.type == "exercise" %} {% include "./includes/book/exercise.html" with {section: section} %} {% elif section.type == "quiz" %} {% include "./includes/book/quiz.html" with {section: section} %} {% endif %}
{% endfor %}
{% if progress.current.prev and progress.current.prev.path %} {% endif %} {% if progress.current.next and progress.current.next.path %} {% endif %}
{% endblock %} {% block javascript %} {% for resource in plugins.resources.js %} {% if resource.url %} {% else %} {% endif %} {% endfor %} {% endblock %} {% block style %} {% for resource in plugins.resources.css %} {% if resource.url %} {% else %} {% endif %} {% endfor %} {% endblock %}