]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - templates/planet/index.html
Massive web site update
[people/shoehn/ipfire.org.git] / templates / planet / index.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ _("IPFire Planet") }}{% end block %}
4
5 {% block container %}
6 {% for entry in entries %}
7 {% module PlanetEntry(entry) %}
8 {% end %}
9
10 <div class="container">
11 <ul class="pager">
12 <li class="previous">
13 <a href="?offset={{ offset }}">&larr; {{ _("Older posts") }}</a>
14 </li>
15 {% if offset - limit %}
16 <li class="next">
17 <a href="?offset={{ offset - (2 * limit) }}">{{ _("Newer posts") }} &rarr;</a>
18 </li>
19 {% end %}
20 </ul>
21 </div>
22
23 <div class="btn-toolbar text-center">
24 <a class="btn btn-default" href="/hottest">{{ _("Hottest posts") }}</a>
25
26 {% for y in range(year, 2010, -1) %}
27 <a class="btn btn-default" href="/year/{{ y }}">{{ y }}</a>
28 {% end %}
29 </div>
30 {% end block %}