www_ourverse.tf/templates/page.html

17 lines
400 B
HTML
Raw Normal View History

2022-11-15 11:11:07 +00:00
{% 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 %}