]>
Commit | Line | Data |
---|---|---|
55b162d6 MT |
1 | {% extends "base.html" %} |
2 | ||
3 | {% block title %}{{ _("IPFire Planet") }}{% end block %} | |
4 | ||
60b0917c | 5 | {% block container %} |
8e4a3eaa SH |
6 | <div class="container"> |
7 | <h2 class="display-2 text-center features-content">The Blog of the IPFire Team</h2> | |
8 | ||
55b162d6 MT |
9 | {% for entry in entries %} |
10 | {% module PlanetEntry(entry) %} | |
11 | {% end %} | |
8e4a3eaa SH |
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> | |
60b0917c MT |
18 | </div> |
19 | ||
8e4a3eaa SH |
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> | |
60b0917c | 23 | |
8e4a3eaa SH |
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> | |
60b0917c | 28 | </div> |
8e4a3eaa | 29 | </div> |
55b162d6 | 30 | {% end block %} |