diff options
author | Florian Dold <florian@dold.me> | 2021-05-06 19:09:14 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-05-06 19:09:14 +0200 |
commit | 15b058c39ec9af0f8ea2695f40b5a033067570cd (patch) | |
tree | 41dbc6d028cef4fa3be2b3138520f01e95b4ae3a /template/news/index.html.j2 | |
parent | 1aaeed134e1750593a7b189ea510fb00c94fb588 (diff) | |
parent | 719934275f3c55e958f48ea165280542b49b8f0b (diff) | |
download | www-15b058c39ec9af0f8ea2695f40b5a033067570cd.tar.gz www-15b058c39ec9af0f8ea2695f40b5a033067570cd.tar.bz2 www-15b058c39ec9af0f8ea2695f40b5a033067570cd.zip |
merge locale
Diffstat (limited to 'template/news/index.html.j2')
-rw-r--r-- | template/news/index.html.j2 | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/template/news/index.html.j2 b/template/news/index.html.j2 new file mode 100644 index 00000000..207fa801 --- /dev/null +++ b/template/news/index.html.j2 @@ -0,0 +1,42 @@ +{% extends "common/base.j2" %} +{% block body_content %} + <div class="container-fluid"> + <div class="container"> + <article> + <div class="row"> + <div class="container text-center"> + <h1>{{ _("News") }}<a name="news"></a></h1> + <section> + <p> + {% 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> + </div> + <div class="row"> + {% for item in newsdata %} + <div class="col-lg-4"> + <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> + </article> + </div> + </div> +{% endblock body_content %} |