From 2dab9254e1da14db38c0862c44bace2ad4993bda Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 12 Mar 2012 01:45:07 +0100 Subject: Add seperate page per post --- templates/aggregator/post_detail.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 templates/aggregator/post_detail.html (limited to 'templates/aggregator/post_detail.html') diff --git a/templates/aggregator/post_detail.html b/templates/aggregator/post_detail.html new file mode 100644 index 0000000..eb39f95 --- /dev/null +++ b/templates/aggregator/post_detail.html @@ -0,0 +1,24 @@ +{% extends "aggregator/base.html" %} + +{% block content %} +{% include "aggregator/post_content.html" with post=object %} + +
+ {% with next=object.get_next_by_updated previous=object.get_previous_by_updated %} + {% if previous %} + + {% endif %} + + {% if next %} + + {% endif %} + {% endwith %} +
+ +
+{% endblock %} -- cgit v1.2.3-54-g00ecf