summaryrefslogtreecommitdiff
path: root/template/index.html.j2
diff options
context:
space:
mode:
authorng0 <ng0@taler.net>2019-12-10 00:47:36 +0000
committerng0 <ng0@taler.net>2019-12-10 00:47:36 +0000
commitca901e4b99a037553a5afe1beeb50255aeecb27c (patch)
tree0be1261a10486902002a73215dee1572912ebda7 /template/index.html.j2
parent7bf827948000a632667a7664f7e4cc9953acdd7f (diff)
downloadwww-ca901e4b99a037553a5afe1beeb50255aeecb27c.tar.gz
www-ca901e4b99a037553a5afe1beeb50255aeecb27c.tar.bz2
www-ca901e4b99a037553a5afe1beeb50255aeecb27c.zip
merge new website generation.
Diffstat (limited to 'template/index.html.j2')
-rw-r--r--template/index.html.j220
1 files changed, 11 insertions, 9 deletions
diff --git a/template/index.html.j2 b/template/index.html.j2
index 59937c6a..e74f82cd 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -1,17 +1,19 @@
{% extends "common/base.j2" %}
{% block body_content %}
-
+ {% import 'inc/news.macro.j2' as news %}
<div class="container">
<div class="row justify-content-center">
<div class="col-8">
- <img src="../images/logo-2018-dold.svg">
+ <img src="{{ url_static('images/logo-2018-dold.svg') }}">
</div>
</div>
<div class="row justify-content-center text-center">
<div class="col-8">
- <a href="news.html">2018-04: GNU Taler v0.5.0 released</a>
+ {% for item in newsdata[:1] %}
+ {{ news.tinylinkpreview(item, prefix="news/") }}
+ {% endfor %}
</div>
</div>
@@ -23,23 +25,23 @@
<h2>{{ _("We provide a payment system that makes <span class='tlr'>privacy-friendly</span> online transactions <span class='tlr'>fast and easy</span>.")}}</h2>
<ul class="checklist">
<li>
- <img class="checkmark" src="../images/checkmark.png">
+ <img class="checkmark" src="{{ url_static('images/checkmark.png') }}">
{{ _("Payments without registration")}}
</li>
<li>
- <img class="checkmark" src="../images/checkmark.png">
+ <img class="checkmark" src="{{ url_static('images/checkmark.png') }}">
{{ _("Data protection by default")}}
</li>
<li>
- <img class="checkmark" src="../images/checkmark.png">
+ <img class="checkmark" src="{{ url_static('images/checkmark.png') }}">
{{ _("Fraud eliminated by design")}}
</li>
<li>
- <img class="checkmark" src="../images/checkmark.png">
+ <img class="checkmark" src="{{ url_static('images/checkmark.png') }}">
{{ _("Not a new currency!")}}
</li>
<li>
- <img class="checkmark" src="../images/checkmark.png">
+ <img class="checkmark" src="{{ url_static('images/checkmark.png') }}">
{{ _("Empowers communities to run their own payment infrastructure")}}
</li>
</ul>
@@ -47,7 +49,7 @@
<form action="https://docs.taler.net/" style="display:inline;"><button type="submit" class="btn btn-secondary">{{ _("Read Docs")}}</button></form>
</div>
<div class="col align-self-center">
- <img class="img-fluid" src="../images/stock1s.jpg" style="border-radius: 1cm;" />
+ <img class="img-fluid" src="{{ url_static('images/stock1s.jpg') }}" style="border-radius: 1cm;" />
</div>
</div>
</div>