{% extends 'admin/base.html.twig' %} {% set area = partial|default(null) %} {% set subject = area ? area.document : page.document %} {% set listRoute = area ? 'admin_partials' : (page.type == 'post' ? 'admin_posts' : 'admin_pages') %} {% block title %}{{ subject.title }} bearbeiten{% endblock %} {% block body_class %}editor-body{% endblock %} {% block styles %}{% endblock %} {% block scripts %}{% endblock %} {% block body %} {# The API base decides what is edited. An area is shared, so it has no draft and no publication: saving is live, and the publish button is left out. One sidebar, one canvas. The sidebar shows one thing at a time - the element library, the page structure, the page settings or the options of the selected element - the way the Flatsome UX Builder does it. Nothing competes for the eye. #}
{{ area ? 'Bereiche' : (page.type == 'post' ? 'Beiträge' : 'Seiten') }}

{{ subject.title }}

{{ area ? kinds[area.kind]|default('Bereich') : '/' ~ (page.slug == 'home' ? '' : page.slug) }}
{# Der Sprachumschalter (ADR 111). Er erscheint nur, wenn die Website weitere Sprachen hat. #}
Wird geladen … {% if not area and is_granted('ROLE_PUBLISHER') %}{% endif %} {% if not area %}{% endif %}

Vorschau wird geladen …

Seite veröffentlichen?

Der gespeicherte Entwurf ersetzt den bisher sichtbaren Inhalt dieser Seite.

Gestaltung als Vorlage speichern

Die Vorlage steht danach für jeden Block auf jeder Seite zur Verfügung.

Serverstand laden?

Lokale Änderungen und dein Undo-Verlauf werden ersetzt. Sichere deine Änderungen vorher als JSON.

{% endblock %}