]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - templates/planet/index.html
Massive web site update
[people/shoehn/ipfire.org.git] / templates / planet / index.html
CommitLineData
55b162d6
MT
1{% extends "base.html" %}
2
3{% block title %}{{ _("IPFire Planet") }}{% end block %}
4
60b0917c 5{% block container %}
55b162d6
MT
6 {% for entry in entries %}
7 {% module PlanetEntry(entry) %}
8 {% end %}
9
60b0917c
MT
10 <div class="container">
11 <ul class="pager">
12 <li class="previous">
13 <a href="?offset={{ offset }}">&larr; {{ _("Older posts") }}</a>
cc3b928d 14 </li>
60b0917c
MT
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>
cc3b928d 28 {% end %}
60b0917c 29 </div>
55b162d6 30{% end block %}