diff options
Diffstat (limited to 'news')
-rw-r--r-- | news/index.html.j2 | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/news/index.html.j2 b/news/index.html.j2 index 9d9f9ff0..f121b910 100644 --- a/news/index.html.j2 +++ b/news/index.html.j2 | |||
@@ -1,6 +1,5 @@ | |||
1 | {% extends "common/base.j2" %} | 1 | {% extends "common/base.j2" %} |
2 | {% block body_content %} | 2 | {% block body_content %} |
3 | {% import 'inc/news.macro.j2' as news %} | ||
4 | <div class="container-fluid"> | 3 | <div class="container-fluid"> |
5 | <div class="container"> | 4 | <div class="container"> |
6 | <article> | 5 | <article> |
@@ -9,8 +8,12 @@ | |||
9 | <h1>{{ _("News") }}<a name="news"></a></h1> | 8 | <h1>{{ _("News") }}<a name="news"></a></h1> |
10 | <section> | 9 | <section> |
11 | <p> | 10 | <p> |
12 | News posts published by GNUnet about changes related to | 11 | {% trans %} |
13 | GNUnet, releases, and events – <a href="{{ url_localized('rss.xml')}}">subscribe to our RSS feed</a> | 12 | News posts about changes related to |
13 | GNU Taler such as releases and events | ||
14 | {% endtrans %} | ||
15 | – | ||
16 | <a href="{{ url_localized('rss.xml') }}">{{ _("subscribe to our RSS feed") }}</a> | ||
14 | </p> | 17 | </p> |
15 | </section> | 18 | </section> |
16 | </div> | 19 | </div> |
@@ -19,7 +22,18 @@ | |||
19 | <ul class="timeline"> | 22 | <ul class="timeline"> |
20 | {% for item in newsdata %} | 23 | {% for item in newsdata %} |
21 | <li> | 24 | <li> |
22 | {{ news.newspreview(item) }} | 25 | <section class="item-preview"> |
26 | <header> | ||
27 | <h3>{{ item['title']|e }}</h3> | ||
28 | <p class="item-date"> | ||
29 | {{ item['date'] }} | ||
30 | </p> | ||
31 | </header> | ||
32 | <p class="item-abstract"> | ||
33 | {{ item['abstract'] }} <br/> | ||
34 | [<a href="{{ item['page'] }}" title="{{ item['date']}}">{{ _("read more") }}</a>] | ||
35 | </p> | ||
36 | </section> | ||
23 | </li> | 37 | </li> |
24 | {% endfor %} | 38 | {% endfor %} |
25 | </ul> | 39 | </ul> |