{#
Main template override (text-forge).
Extends Material theme's main.html to inject editor partial.
#}
{% extends "base.html" %}
{# Inject text-forge CSS in styles block #}
{% block styles %}
{{ super() }}
{# Load text-forge custom CSS #}
{# Load editor CSS if enabled #}
{% if text_forge_editor_enabled %}
{% endif %}
{% endblock %}
{# Inject editor UI and JS after content #}
{% block scripts %}
{{ super() }}
{% include "partials/editor.html" %}
{% if text_forge_editor_enabled and page and page.content %}
{% endif %}
{% endblock %}