Done blog post detail
[django-girls.git] / blog / templates / blog / post_detail.html
diff --git a/blog/templates/blog/post_detail.html b/blog/templates/blog/post_detail.html
new file mode 100644 (file)
index 0000000..18073a9
--- /dev/null
@@ -0,0 +1,13 @@
+{% extends 'blog/base.html' %}
+
+{% block content %}
+<div class="post">
+       {% if post.published_date %}
+               <div class="date">
+                       {{ post.published_date }}
+               </div>
+       {% endif %}
+       <h1>{{ post.title }}</h1>
+       <p>{{ post.text|linebreaksbr }}</p>
+</div>
+{% endblock %}
\ No newline at end of file