{% extends "base.html" %} {% block title %}{{ path or 'Preview' }}{% endblock %} {% block actions %} {% if file %} {# For templates, Edit jumps to the schema-driven /editor (form + CodeMirror + live lint). For other files (specs, summaries), Edit toggles the legacy raw-textarea pane below. Single Edit affordance per file type — no redundant tab + button. #} {% endif %} {% endblock %} {% block content %} {% if error %}
{% endif %} {% if file %} {% if file.root == 'specs' and file.path.endswith('.md') %} {% endif %}