{% extends "base.html" %} {% set active_page = "blog" %} {% block title %}Blog Drafts — IETF Draft Analyzer{% endblock %} {% block content %}

Blog Drafts

{{ drafts | length }} blog draft{{ 's' if drafts | length != 1 }}. Generate Medium-style posts from project data.

Generate New
{% set ns = namespace(draft=0, review=0, published=0, archived=0) %} {% for d in drafts %} {% if d.status == 'draft' %}{% set ns.draft = ns.draft + 1 %} {% elif d.status == 'review' %}{% set ns.review = ns.review + 1 %} {% elif d.status == 'published' %}{% set ns.published = ns.published + 1 %} {% elif d.status == 'archived' %}{% set ns.archived = ns.archived + 1 %} {% endif %} {% endfor %}
{% for d in drafts %}

{{ d.title }}

{% if d.subtitle %}

{{ d.subtitle }}

{% endif %}
{{ d.status | upper }}
{% if d.style %} {{ d.style }} {% endif %} {% if d.tags %}
{% for tag in d.tags[:5] %} #{{ tag }} {% endfor %} {% if d.tags | length > 5 %} +{{ d.tags | length - 5 }} {% endif %}
{% endif %} {% if d.model_used %} | {{ d.model_used }} {% endif %} {% if d.cost_usd %} | ${{ "%.3f" | format(d.cost_usd) }} {% endif %} {% if d.updated_at %} | {{ d.updated_at[:10] }} {% endif %}
{% endfor %} {% if not drafts %}

No blog drafts yet. Generate your first post from project data.

Generate First Post
{% endif %}
{% endblock %} {% block extra_scripts %} {% endblock %}