aboutsummaryrefslogtreecommitdiffstats
path: root/templates/aggregator/posts.html
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-05-21 22:26:37 +0200
committerGravatar Tom Willemsen2012-05-21 22:26:37 +0200
commit44cdd17a88595e16a9fd43f55e9dac38a0047e6b (patch)
treeca36baa776f717b1c2b6c0a64be48d034b7a5253 /templates/aggregator/posts.html
parent8944ff3fba186e71a7349c1a06153f32650e77d4 (diff)
downloadryuslash.org-44cdd17a88595e16a9fd43f55e9dac38a0047e6b.tar.gz
ryuslash.org-44cdd17a88595e16a9fd43f55e9dac38a0047e6b.zip
Move templates
Moved templates into the aggregator app's folder.
Diffstat (limited to 'templates/aggregator/posts.html')
-rw-r--r--templates/aggregator/posts.html54
1 files changed, 0 insertions, 54 deletions
diff --git a/templates/aggregator/posts.html b/templates/aggregator/posts.html
deleted file mode 100644
index 37edf12..0000000
--- a/templates/aggregator/posts.html
+++ /dev/null
@@ -1,54 +0,0 @@
-{% extends "aggregator/base.html" %}
-
-{% block head %}
-<link href="/feeds/posts/" rel="alternate" type="application/rss+xml"
- title="All posts" />
-{% endblock %}
-
-{% block menu %}
-<div id="feeds">
- {% for feed in feeds %}
- <a href="{{ feed.get_profile_url }}">
- <img src="{{ feed.get_favicon_url }}">
- {{ feed.name }}
- </a>
- {% endfor %}
-</div>
-{% endblock %}
-
-{% block content %}
-{% regroup list.object_list by updated.date as grouped_list %}
-{% for group in grouped_list %}
- <header>
- <h2>
- <time datetime="{{ group.grouper|date:"Y-m-d" }}">
- {{ group.grouper }}
- </time>
- </h2>
- </header>
-
- {% for post in group.list %}
- {% include "aggregator/post_content.html" %}
- {% endfor %}
-{% endfor %}
-
-<div id="pager">
- {% if list.has_previous %}
- <div class="nav-prev">
- <a href="/{{ category }}/{{ list.previous_page_number }}/"
- id="previous">previous</a>
- </div>
- {% endif %}
-
- {% if list.has_next %}
- <div class="nav-next">
- <a href="/{{ category }}/{{ list.next_page_number }}/"
- id="next">next</a>
- </div>
- {% endif %}
-
- <div id="current">
- {{ list.number }} / {{ list.paginator.num_pages }}
- </div>
-</div>
-{% endblock %}