{{title|translate("title")}}
- {% endif %} +
+
include footer ?>
include scripts ?>
+ {% if not noheading %}
+
{{title|translate("title")}}
+ {% endif %} - {% if not notoc %} - {% macro toc(toclist) %} --
- {% for item in toclist %}
-
- - {{item.title}} - {% if item.subitems %}{{toc(item.subitems)}}{% endif %} - - {% endfor %} -
-
+ {% for item in toclist %}
+
- + {{item.title}} + {% if item.subitems %}{{toc(item.subitems)}}{% endif %} + + {% endfor %} +
- {{toc(toclist)}}
-
+ {% set toclist = body|toclist %}
+ {% if toclist %}
+
+ {{toc(toclist)}}
+
+ {% endif %}
{% endif %}
- {% endif %}
- {% block body %}
- {{body|safe}}
- {% endblock %}
+ {% block body %}
+ {{body|safe}}
+ {% endblock %}
+