{% extends "base.html" %} {% block title %}{% if editing %}Edit Post{% else %}New Post{% endif %} - {{ project_slug }} - Dashboard{% endblock %} {% block body_attrs %} class="{{ crate::shell::measure(crate::shell::Measure::Wide) }} blog-editor"{% endblock %} {% block content %} {% include "partials/site_header.html" %}

{% if editing %}Edit Post{% else %}New Blog Post{% endif %}.

Checking...
{# The described markdown field. Keeps the id `post-body`, which is what `blog-editor.js` reads on save and on autosave; the picker below addresses it by NAME (`body`). #} {{ crate::quasi::rich_field::html("post", "Content (Markdown)", "Write your post in Markdown...", post_body, crate::quasi::rich_field::Height::Tall)|safe }} {{ crate::quasi::media_picker::trigger("body")|safe }} {% if is_changelog_project %}

Surfaces this post as the "Last shipped" line on the landing page. The most recent published post with this set wins; uncheck to retire it.

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}