{% if post.published_at and post.is_published %}
Published on
{% elif post.published_at and not post.is_published %}
SCHEDULED for
{% else %}
DRAFT — Last updated on
{% endif %}
{% if request.user.is_authenticated and request.subdomain == request.user.username %}
| Edit post
| Del
{% endif %}
{{ post.body_as_html|safe }}
{% include 'partials/webring.html' %}
{% if blog_user.comments_on %}
{% if request.user.is_authenticated and request.subdomain == request.user.username %}
Post comment as blog author
{% else %}
Thoughts? Leave a comment
{% endif %}
{% if comments_pending and request.user.is_authenticated and request.subdomain == request.user.username %}
{% for comment in comments_pending %}-
{{ comment.name|default_if_none:"Anonymous" }}
{% if comment.email %}
({{ comment.email }})
{% endif %}—
{{ comment.created_at|date:'M j, Y' }}:
(approve
/ delete)
{{ comment.body_as_html|safe }}
{% endfor %}
{% endif %} {% if comments %}{% for comment in comments %}-
{% if comment.is_author %}
{{ comment.name }}
—
{{ comment.created_at|date:'M j, Y' }}:
{% else %}
{{ comment.name|default_if_none:"Anonymous" }}
{% if request.user.is_authenticated and request.subdomain == request.user.username and comment.email %}
({{ comment.email }})
{% endif %}—
{{ comment.created_at|date:'M j, Y' }}:
{% endif %}
{% if request.user.is_authenticated and request.subdomain == request.user.username %}
(delete)
{% endif %}
{{ comment.body_as_html|safe }}
{% endfor %}
{% endif %}