{% extends "_default/base.html" %}

{% block content %}

<main>
    <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
    <script>mermaid.initialize({startOnLoad:true});</script>
    <div>
        {% if page %}
            {{page.content | safe}}
        {% else %}
            {{section.content | safe}}
        {% endif %}
    </div>

 </main> {% endblock content %}
