{% extends admin_config.templates ~ "/base.html" %} {% block title %}{% if file_path %}Edit: {{ file_path }}{% else %}New File{% endif %}{% endblock %} {% set active_page = 'editor' %} {% block head %} {# ── TUI Editor (toast-ui) — WYSIWYG/Markdown editor for content. #} {# ── Guifier — Visual JSON/YAML editor for frontmatter metadata. #} {# Note: Guifier ships as an ES module only — must use type="module" to import. #} {# ── File Icons — file-type icons from Atom File-icons (port for browser). #} {% endblock %} {% block content %}