www_duniayetu/templates/page.html
2023-12-15 21:12:07 +01:00

17 lines
400 B
HTML

{% 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 %}