diff options
author | Tom Willemsen | 2012-03-10 03:04:13 +0100 |
---|---|---|
committer | Tom Willemsen | 2012-03-10 03:04:13 +0100 |
commit | 9648ce73fda47739be5465d8142c38bda588c6f6 (patch) | |
tree | 866100c62ede3bc0dab50b0dc19de4a4191c5fd4 /templates/aggregator | |
download | ryuslash.org-9648ce73fda47739be5465d8142c38bda588c6f6.tar.gz ryuslash.org-9648ce73fda47739be5465d8142c38bda588c6f6.zip |
Initial commit
Diffstat (limited to 'templates/aggregator')
-rw-r--r-- | templates/aggregator/posts.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/aggregator/posts.html b/templates/aggregator/posts.html new file mode 100644 index 0000000..32f1ed7 --- /dev/null +++ b/templates/aggregator/posts.html @@ -0,0 +1,45 @@ +<html> + <head> + <title>ryuslash.org</title> + </head> + <body> + + {% for post in list.object_list %} + <p> + <div> + <a href="{{ post.remote_url }}"> + <img src="{{ post.feed.get_favicon_url }}" /> + {{ post.updated }} + </a> + </div> + {% if post.feed.uses_title %} + <div>{{ post.title }}</div> + {% endif %} + + {% autoescape off %} + {% if post.feed.br2nl %} + {{ post.body|linebreaks }} + {% else %} + {{ post.body }} + {% endif %} + {% endautoescape %} + </p> + {% endfor %} + + <div class="pagination"> + <span class="step-links"> + {% if list.has_previous %} + <a href="/{{ list.previous_page_number }}/">previous</a> + {% endif %} + + <span class="current"> + Page {{ list.number }} of {{ list.paginator.num_pages }}. + </span> + + {% if list.has_next %} + <a href="/{{ list.next_page_number }}/">next</a> + {% endif %} + </span> + </div> + </body> +</html> |