{# The bundled admin chrome. A site with an admin of its own passes `base_template` instead and these screens land inside it; all they need from it is the four blocks below — `title`, `head`, `content` and `scripts`. #} {% block title %}Textos{% if sitecopy_brand %} · {{ sitecopy_brand }}{% endif %}{% endblock %} {% block head %}{% endblock %}
{{ sitecopy_brand or 'Textos' }} {% if sitecopy_brand %}Admin{% endif %} {% if sitecopy_nav %} {% endif %} {# One grid cell for both: the header is a 3-column grid, so a fourth child would drop onto a second row. #}
Ver la web {% if sitecopy_owns_auth and sitecopy_logged_in %}
{# Icon-only on a narrow screen: the word is what wraps the header onto a third line on a small phone. #}
{% endif %}
{# The visual editor needs the whole width; every other screen stays readable. #}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %} {# An error is assertive (it blocked something); a success/notice is polite. #}
{{ message }}
{% endfor %}
{% endif %} {% endwith %} {% block content %}{% endblock %}
{% block scripts %}{% endblock %}