{% extends "base.html" %} {% block content %}

Draft Mastodon post

Review alt text, edit your caption, and ask ChatGPT for phrasing help before posting.

{% if not mastodon_ready %}
Mastodon access token missing. You can refine content, but posting is disabled.
{% endif %} {% if error_message %}
{{ error_message }}
{% endif %}
{% if latest_status %}

Most recent Mastodon post

{% if latest_status.created_display %}

Posted {{ latest_status.created_display }}

{% endif %}
{{ latest_status.content|safe }}
{% elif latest_status_error %}
{{ latest_status_error }}
{% endif %}
{% for asset in assets %}
Photo {{ loop.index }}
{{ asset.file_name }}

{{ asset.file_name }}

{% if asset.captured_display %}

{{ asset.captured_display }}

{% endif %}
{% endfor %}
{% endblock %}