X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/704ace48dfd3f1dd64271d1916c7defb4806e86c..ad311d8dc72072fa77feb544fdecf0df96ea9034:/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 e2bd8c7..5dd4258 100644 --- a/sommitrealweird/blog/templates/blog/single_entry_rst.html +++ b/sommitrealweird/blog/templates/blog/single_entry_rst.html @@ -1,10 +1,15 @@ {% extends "base.html" %} -{% load markup %} +{% load xhtml11rst %} +{% load comments %} + +{%block title %}{{ entry.title }}{% endblock %} {% block content %}

{{ entry.title }}

+
{{ entry.content|restructuredtext }} +

Posted: {{ entry.publish_date|date:"Y-m-d H:i" }} {% if entry.sections.count %} in @@ -20,6 +25,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 %}