]>
Commit | Line | Data |
---|---|---|
1 | {% extends "base.html" %} | |
2 | ||
3 | {% block title %}{{ _("IPFire Planet") }}{% end block %} | |
4 | ||
5 | {% block container %} | |
6 | <div class="container"> | |
7 | <h2 class="display-2 text-center features-content">The Blog of the IPFire Team</h2> | |
8 | ||
9 | {% for entry in entries %} | |
10 | {% module PlanetEntry(entry) %} | |
11 | {% end %} | |
12 | ||
13 | <div class="col-9 my-4"> | |
14 | <div class="row d-flex flex-row justify-content-between"> | |
15 | <a href="?offset={{ offset }}">← {{ _("Older posts") }}</a> | |
16 | <a href="?offset={{ offset - (2 * limit) }}">{{ _("Newer posts") }} →</a> | |
17 | </div> | |
18 | </div> | |
19 | ||
20 | <div class="btn-toolbar mb-6"> | |
21 | <div class="btn-group"> | |
22 | <button type="button" class="btn btn-light"><a href="/hottest">{{ _("Hottest posts") }}</a></button> | |
23 | ||
24 | {% for y in range(year, 2010, -1) %} | |
25 | <button tyle="button" class="btn btn-light"><a href="/year/{{ y }}">{{ y }}</a></button> | |
26 | {% end %} | |
27 | </div> | |
28 | </div> | |
29 | </div> | |
30 | {% end block %} |