{% extends 'base.html' %} {% block title %}{{ blogpost.title }}{% endblock %} {% block date %}{{ blogpost.date|date:"Y-m-d" }}{% endblock %} {% block longdescription %}{{ blogpost.preview }}{% endblock %} {% block description %}by {{ author.name }} // {{ blogpost.subtitle }}{% endblock %} {% block image %}{{ blogpost.image_thumbnail.url }}{% endblock %} {% block pagetype %}post{% endblock %} {% block content %}
{% if request.user.is_staff %} {% endif %}

{{ blogpost.title }}

{{ blogpost.subtitle }}

{% if blogpost.image_credit %} {% endif %}
{% if not blogpost.published %}
Not published

This post won't yet show up elsewhere on the website.

Here's what the thumbnail will look like when it is published:

{% if request.user.is_staff %} Edit in admin {% endif %}
{% include 'blog_post_thumb.html' with post=blogpost author=author only %}


{% endif %}

{{ blogpost.formatted_content|safe }}


author

{% include 'author_bio.html' with author=author %}
{% if other_posts %}

other posts

{% for other_post in other_posts %}
{% include 'blog_post_thumb.html' with post=other_post author=author only %}
{% endfor %}
{% endif %}
{% endblock %}