X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/9dc8ed0fee004a621b40da4e138f7ee2907b0715..f97a419d58e6b750a6d819096c7590910c4b6209:/sommitrealweird/blog/templates/blog/single_entry_rst.html diff --git a/sommitrealweird/blog/templates/blog/single_entry_rst.html b/sommitrealweird/blog/templates/blog/single_entry_rst.html index 2fa2af2..2536c75 100644 --- a/sommitrealweird/blog/templates/blog/single_entry_rst.html +++ b/sommitrealweird/blog/templates/blog/single_entry_rst.html @@ -1,10 +1,7 @@ {% extends "base.html" %} -{% load markup %} - -{% block title %} -{{ entry.title }} -{% endblock %} +{% load xhtml11rst %} +{% load comments %} {% block content %}

{{ entry.title }}

@@ -26,6 +23,22 @@ {% endif %} {% endfor %} {% endif %} - permalink + {% get_comment_count for entry as comment_count %} + | permalink | Comments: {{ comment_count }}

+{% if comment_count %} +
+ + {% get_comment_list for entry as comment_list %} + {% for comment in comment_list %} +
+

{{ comment.user_name }} - {{ comment.submit_date|date:"Y-m-d H:i" }}

+ {{ comment.comment }} +
+ {% endfor %} +
+{% endif %} +
+ {% render_comment_form for entry %} +
{% endblock %}