summaryrefslogtreecommitdiff
path: root/template/news/index.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'template/news/index.html.j2')
-rw-r--r--template/news/index.html.j212
1 files changed, 5 insertions, 7 deletions
diff --git a/template/news/index.html.j2 b/template/news/index.html.j2
index eb9edd6c..2d9b2745 100644
--- a/template/news/index.html.j2
+++ b/template/news/index.html.j2
@@ -1,5 +1,6 @@
{% extends "common/base.j2" %}
{% block body_content %}
+<main id="maincontent">
<div class="container-fluid">
<div class="container">
<article>
@@ -8,10 +9,7 @@
<h1>{{ _("News") }}<a name="news"></a></h1>
<section>
<p>
- {% trans %}
- News posts about changes related to
- GNUnet such as releases and events
- {% endtrans %}
+ {% trans %}News posts about changes related to GNU Taler such as releases and events{% endtrans %}
&#8211;
<a href="{{ url_localized('rss.xml') }}">{{ _("subscribe to our RSS feed") }}</a>
</p>
@@ -26,14 +24,14 @@
<li>
<section class="item-preview">
<header>
- <h3>{{ item['title']|e }}</h3>
+ <h5>{{ item['title']|e }}</h5>
<p class="item-date">
{{ item['date'] }}
</p>
</header>
<p class="item-abstract">
- {{ get_abstract(item['page'], 500) }} <br/>
- [<a href="{{ url_localized(item['page']) }}" title="{{ item['date']}}">{{ _("read more") }}</a>]
+ {{ get_abstract('news/' + item['page'], 500) }} <br/>
+ [<a href="{{ url_localized('news/' + item['page']) }}" title="{{ item['date']}}">{{ _("read more") }}</a>]
</p>
</section>
</li>