]>
Commit | Line | Data |
---|---|---|
940227cb MT |
1 | {% extends "base-1.html" %} |
2 | ||
3 | {% block title %}News{% end block %} | |
81675874 | 4 | |
60024cc8 MT |
5 | {% block body %} |
6 | <div class="page-header"> | |
7 | <h1>{{ _("What is new on the IPFire project?") }}</h1> | |
8 | </div> | |
940227cb MT |
9 | |
10 | <p> | |
11 | At this place you will know about the most important announces. | |
12 | For development information and the little beans there is the | |
13 | <a href="http://planet.ipfire.org">IPFire Planet</a>. | |
14 | </p> | |
15 | ||
16 | <p> | |
17 | To get latest news, there is the a | |
18 | <a class="feed" href="/news.rss"> RSS feed</a>. | |
19 | </p> | |
20 | ||
21 | <br class="clear" /> | |
22 | ||
23 | {% for item in news %} | |
81675874 | 24 | {{ modules.NewsItem(item) }} |
25 | {% end %} | |
940227cb | 26 | |
60024cc8 MT |
27 | <div class="row"> |
28 | <div class="span9"> | |
29 | <ul class="pager"> | |
30 | <li class="previous"> | |
31 | <a href="?offset={{ offset }}">← {{ _("Older posts") }}</a> | |
32 | </li> | |
33 | {% if offset - limit %} | |
34 | <li class="next"> | |
35 | <a href="?offset={{ offset - (2 * limit) }}">{{ _("Newer posts") }} →</a> | |
36 | </li> | |
37 | {% end %} | |
38 | </ul> | |
39 | </div> | |
40 | </div> | |
81675874 | 41 | {% end block %} |