Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No need to indicate blog entry preview mode.

  • Loading branch information...
commit 809ff57b75cbaef0774d3da044191a0557e3f64e 1 parent 14966e8
@jphalip jphalip authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  django_website/templates/blog/entry_detail.html
View
1  django_website/templates/blog/entry_detail.html
@@ -4,7 +4,6 @@
{% block content %}
<h1>{{ object.headline|safe }}</h1>
-{% if not object.is_published %}<p><strong>Preview mode</strong></p>{% endif %}
{{ object.body_html|safe }}
<p class="date small">Posted by <strong>{{ object.author }}</strong> on {{ object.pub_date|date:"F j, Y" }}</p>
{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.