diff options
Diffstat (limited to 'news/index.html.j2')
-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 cffcaf98..207fa801 100644 --- a/news/index.html.j2 +++ b/news/index.html.j2 @@ -1,6 +1,5 @@ {% extends "common/base.j2" %} {% block body_content %} - {% import 'inc/news.macro.j2' as news %} <div class="container-fluid"> <div class="container"> <article> @@ -9,8 +8,12 @@ <h1>{{ _("News") }}<a name="news"></a></h1> <section> <p> - News posts published by Taler about changes related to - GNUnet, releases, and events – <a href="{{ url_localized('rss.xml')}}">subscribe to our RSS feed</a> + {% trans %} + News posts about changes related to + GNU Taler such as releases and events + {% endtrans %} + – + <a href="{{ url_localized('rss.xml') }}">{{ _("subscribe to our RSS feed") }}</a> </p> </section> </div> @@ -18,7 +21,18 @@ <div class="row"> {% for item in newsdata %} <div class="col-lg-4"> - {{ news.newspreview(item) }} + <section class="item-preview"> + <header> + <h3>{{ item['title']|e }}</h3> + <p class="item-date"> + {{ item['date'] }} + </p> + </header> + <p class="item-abstract"> + {{ item['abstract'] }} <br/> + [<a href="{{ item['page'] }}" title="{{ item['date']}}">{{ _("read more") }}</a>] + </p> + </section> </div> {% endfor %} </div> |