1 {% extends 'blog/base.html' %}
5 {% if post.published_date %}
7 {{ post.published_date }}
10 {% if user.is_authenticated %}
11 <a class=
"btn btn-default" href=
"{% url 'post_edit' pk=post.pk %}"><span class=
"glyphicon glyphicon-pencil"></span></a>
13 <h1>{{ post.title }}
</h1>
14 <p>{{ post.text|linebreaksbr }}
</p>