{% extends "base.html" %} {% block title %}{{ title }} - Admin{% endblock %} {% block content %}

{{ title }}

Back to Dashboard
{{ form.hidden_tag() }}
{{ form.title.label(class="form-label") }} {{ form.title(class="form-control") }} {% if form.title.errors %}
{% for error in form.title.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.category.label(class="form-label") }} {{ form.category(class="form-select") }}
{{ form.excerpt.label(class="form-label") }} {{ form.excerpt(class="form-control", rows="3", placeholder="Auto-generated if left blank") }}
Brief description shown in blog listings
{{ form.content.label(class="form-label") }} {{ form.content(class="form-control") }} {% if form.content.errors %}
{% for error in form.content.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.submit(class="btn btn-primary") }} {% if post %} Preview {% endif %}
Writing Tips
  • Use clear, descriptive titles
  • Break up long paragraphs
  • Include code examples when relevant
  • Add personal insights and experiences
Markdown Support

You can use basic HTML in your posts:

<strong>bold</strong>
<em>italic</em>
<code>code</code>
<pre>code block</pre>
{% endblock %}