{% extends 'blog/base.html' %} {% block title %} Detail Page {% endblock %} {% block body %} {% if post %}
{% if post.author == request.user %} update delete {% endif %}
{{ post.title }}

{{ post.content}}

{#

{{ post.content|slice:":100" }}...

#}
{% else %}

Posts are not available

{% endif %} {% endblock %}