{% extends "madga/studio/base.html" %} {% load i18n static madga_studio_tags %} {% block title %}{% if post %}{{ post.title|default:_("Edit post") }}{% else %}{% trans "New post" %}{% endif %} · Studio{% endblock %} {% block breadcrumbs %} {% trans "Posts" %} / {% if post %}{{ post.title|default:_("Untitled") }}{% else %}{% trans "New post" %}{% endif %} {% endblock %} {% block head_extra %} {# Editor.js scripts in
so they parse before our init runs. #} {# Note: 'link' inline tool is built into Editor.js core — referenced by string in inlineToolbar. #} {% endblock %} {% block content %} {% include "madga/studio/components/editor_toolbar_init.html" %} {% endblock %}