{{blogpost.slug | slugToTitle}}

{{blogpost.author}}

{% filter markdown %} {{blogpost.content}} {% endfilter %}

{{blogpost.timestamp | toDateAndTime}}

{% if current_user.name == 'Ben' %} Delete post. {% endif %} {% if current_user.is_authenticated %} Add comment. {% endif %} {% if not current_user.is_authenticated %} Sign in to leave a comment. {% endif %} {% for comment in blogpost.comments%} {% include 'cards/comment_card.html'%}
{% endfor %}