blob: 2203fc135ec25665b000856aa74852cc02304ca1 (
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
|
{% extends "base.html" %}
{% load cache %}
{% load static from staticfiles %}
{% block head %}
<link rel="alternate" type="application/rss+xml" title="Arch Linux Planet" href="{% url 'planet-feed' %}" />
{% endblock %}
{% block content_left %}
{% cache 62 planet-page-left %}
<div id="intro" class="box">
<h2>Arch Planet</h2>
<p>Planet <strong>Arch Linux</strong> is a window into the world, work and
lives of Arch Linux developers, trusted users and support staff.</p>
</div>
<div id="planet">
<a href="{% url 'planet-feed' %}" title="Planet Arch Linux RSS Feed"
class="rss-icon"><img width="16" height="16" src="{% static "rss.png" %}" alt="RSS Feed" /></a>
{% for entry in feed_items %}
<h4>
<a href="{{ entry.url }}"
title="View full article: {{ entry.title }}">{{ entry.title }}</a>
</h4>
<p class="timestamp">{{ entry.publishdate|date }}</p>
<div class="article-content">
{{ entry.summary |safe }}
</div>
<p class="article-author">{% if entry.author %}{{ entry.author }}@{% endif %}<a href={{ entry.feed.website }}>{{ entry.feed.title }}</a></p>
{% endfor %}
</div>
{% endcache %}
{% endblock %}
{% block content_right %}
{% cache 115 planet-page-right %}
<div id="nav-sidebar" class="widget">
<h4>Subscribe</h4>
<ul class="planet-list">
{% for feed in official_feeds %}
<li>
<a href="{{ feed.website }}" title="{{ feed.title }}">{{ feed.title }}</a>
</li>
{% endfor %}
</ul>
<h4>Arch Planet WorldWide</h4>
<p>Other Arch Linux communities around the world.</p>
<ul class="planet-list">
{% for planet in planets %}
<li><a href="{{ planet.website }}">{{planet.name}}</a></li>
{% endfor %}
</ul>
</div>
{% endcache %}
{% endblock %}
|