blob: 094ad25bc93d7d2b67586860926b605bb95e2610 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{% extends "aggregator/base.html" %}
{% load posts_extras %}
{% block head %}
<link href="/feeds/posts/" rel="alternate" type="application/rss+xml"
title="All posts" />
{% endblock %}
{% block content %}
{% 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">"{{ post.updated }}"</span>)
</article>
{% 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 %}
|