{% extends 'base.html' %} {% block title %}{{ path }}{% endblock %} {% macro render_tree(tree, root='/') %} {% endmacro %} {% block body %}
{% if not edit %} {% if path != '' %} Edit {% endif %} {% autoescape false %} {{ markdown(content, extensions=['extra']) }} {% endautoescape %} {% else %}
{% endif %}
{% for child in document_tree.get_node(path).children %} {% if loop.first %}

Children

{% endif %} {{child.name}}{% if not loop.last %},{% endif %} {% endfor %}
{% set footer = config.get('foote') %} {% if footer not in [None, False, ""] %} {% endif %} {% endblock %}