blob: aef81d0ce2731c6df551210d73cdedfd5c5923c0 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
<!DOCTYPE html>
<html>
<head>
<title>ryuslash</title>
<link href="/static/main.css" type="text/css" rel="stylesheet" />
</head>
<body>
<img src="/static/logo.png" id="logo">
<h1 id="sitetitle"><span id="blue">ryu</span><span id="orange">slash</span></h1>
<div id="sitesubtitle">Will this ever really be my website?</div>
<div id="feeds">
{% for feed in feeds %}
<a href="{{ feed.get_profile_url }}">
<img src="{{ feed.get_favicon_url }}">
{{ feed.name }}
</a>
{% endfor %}
</div>
<div id="content">
{% regroup list.object_list by updated.date as grouped_list %}
{% for group in grouped_list %}
<h2>{{ group.grouper }}</h2>
{% for post in group.list %}
<div class="post {{ post.feed.name|slugify }}">
<div class="posttitle">
<a href="{{ post.feed.get_profile_url }}"><img src="{{ post.feed.get_favicon_url }}" /></a>
<a href="{{ post.remote_url }}">
{% if post.feed.uses_title %}
{{ post.title }}
{% else %}
{{ post.updated }}
{% endif %}
</a>
</div>
{% autoescape off %}
{% if post.feed.br2nl %}
{{ post.body|linebreaks }}
{% else %}
{{ post.body }}
{% endif %}
{% endautoescape %}
</div>
{% endfor %}
{% endfor %}
<div id="pager">
{% if list.has_previous %}
<a href="/{{ list.previous_page_number }}/" id="previous">previous</a>
{% endif %}
{% if list.has_next %}
<a href="/{{ list.next_page_number }}/" id="next">next</a>
{% endif %}
<div id="current">
{{ list.number }} / {{ list.paginator.num_pages }}
</div>
</div>
</div>
</body>
</html>
|