diff options
author | ng0 <ng0@taler.net> | 2019-12-09 20:07:50 +0000 |
---|---|---|
committer | ng0 <ng0@taler.net> | 2019-12-09 20:07:50 +0000 |
commit | 7c708d3aac4409bb56ac25510624b72a5d325f45 (patch) | |
tree | 3db130bfe3515e94d10593376622b3308097906a /news/index.html.j2 | |
parent | 7de18b3b5d42c3e8f3a75522521f6089023f5110 (diff) | |
download | www-7c708d3aac4409bb56ac25510624b72a5d325f45.tar.gz www-7c708d3aac4409bb56ac25510624b72a5d325f45.tar.bz2 www-7c708d3aac4409bb56ac25510624b72a5d325f45.zip |
add news template.
Diffstat (limited to 'news/index.html.j2')
-rw-r--r-- | news/index.html.j2 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/news/index.html.j2 b/news/index.html.j2 new file mode 100644 index 0000000..cffcaf9 --- /dev/null +++ b/news/index.html.j2 @@ -0,0 +1,28 @@ +{% extends "common/base.j2" %} +{% block body_content %} + {% import 'inc/news.macro.j2' as news %} + <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> + 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> + </p> + </section> + </div> + </div> + <div class="row"> + {% for item in newsdata %} + <div class="col-lg-4"> + {{ news.newspreview(item) }} + </div> + {% endfor %} + </div> + </article> + </div> + </div> +{% endblock body_content %} |