X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/bb8272178c6c35fcb92bc5a08342faf40d3fab1b..8ad5847821fd7e03f3216e154c06f24d67af89f1:/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 5681e14..d8dbd10 100644 --- a/sommitrealweird/blog/templates/blog/single_entry_rst.html +++ b/sommitrealweird/blog/templates/blog/single_entry_rst.html @@ -3,6 +3,25 @@ {% load markup %} {% block content %} -

{{ title }}

-{{ content|restructuredtext }} +

{{ entry.title }}

+
+{{ entry.content|restructuredtext }} +
+

Posted: {{ entry.publish_date|date:"Y-m-d H:i" }} + {% if entry.sections.count %} + in + {% for section in entry.sections.all %} + {% if forloop.first %} + {{ section.title }}{% if not forloop.last %}, {% endif %} + {% else %} + {% if forloop.last %} + and {{ section.title }} + {% else %} + {{ section.title }} + {% endif %} + {% endif %} + {% endfor %} + {% endif %} + permalink +

{% endblock %}