aboutsummaryrefslogtreecommitdiffstats
path: root/aggregator/templates/aggregator/posts.html
diff options
context:
space:
mode:
Diffstat (limited to 'aggregator/templates/aggregator/posts.html')
-rw-r--r--aggregator/templates/aggregator/posts.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/aggregator/templates/aggregator/posts.html b/aggregator/templates/aggregator/posts.html
index 0763ed2..094ad25 100644
--- a/aggregator/templates/aggregator/posts.html
+++ b/aggregator/templates/aggregator/posts.html
@@ -1,4 +1,5 @@
{% extends "aggregator/base.html" %}
+{% load posts_extras %}
{% block head %}
<link href="/feeds/posts/" rel="alternate" type="application/rss+xml"
@@ -6,20 +7,19 @@
{% 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" %}
+ {% for post in list.object_list %}
+ <article class="post">
+ (<span class="keyword">defpost</span>
+ <a href="{{ post.link }}"
+ class="variable-name">{{ post.title|slugify|nameless }}</a>
+ (<img src="/static/images/logos/{{ post.icon }}" width="16"
+ height="16"/>)
+ <div class="doc">
+ {% autoescape off %}{{ post.content }}{% endautoescape %}
+ </div>
+ <span class="string">&quot;{{ post.updated }}&quot;</span>)
+ </article>
{% endfor %}
-{% endfor %}
<div id="pager">
{% if list.has_previous %}