diff options
Diffstat (limited to 'template/index.html.j2')
-rw-r--r-- | template/index.html.j2 | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/template/index.html.j2 b/template/index.html.j2 index a7a291f5..ab6fd2f7 100644 --- a/template/index.html.j2 +++ b/template/index.html.j2 @@ -1,14 +1,10 @@ {% extends "common/base.j2" %} {% block body_content %} +<main id="maincontent"> <div class="container"> <div class="row justify-content-center"> - <div style="width:40vw;" > - <img alt="{{ _("Taler logo") }}" style="width:100%; height: auto; display: block" src="{{ url_static('images/logo-2021.svg') }}"> - </div> - </div> - - <div class="row mt-5"> + <img alt="{{ _("Taler logo") }}" style="width:40vw; display: block; margin-top: 10px; margin-bottom: 25px" src="{{ url_static('images/logo-2021.svg') }}"> </div> <div class="row"> @@ -38,10 +34,12 @@ </li> <li> <img class="checkmark" height=18 width=18 alt="checkmark" src="{{ url_static('images/checkmark.png') }}"> - <a href="https://gnu.org/philosophy/free-sw.html">{{ _("Free Software") }}</a> + <a href="https://gnu.org/philosophy/free-sw.html" target="_blank" rel="noopener noreferrer">{{ _("Free Software") }}</a> </li> </ul> - <form action="{{ "https://demo.taler.net/" + lang + "/" }}" style="display:inline;"><button type="submit" class="btn btn-primary">{{ _("Try Demo!")}}</button></form> <form action="https://docs.taler.net/" style="display:inline;"><button type="submit" class="btn btn-secondary">{{ _("Read Docs")}}</button></form> + <form action="{{ "https://demo.taler.net/" + lang + "/" }}" target="_blank" rel="noopener noreferrer" style="display:inline;"><button type="submit" class="btn btn-primary">{{ _("Try Demo!")}}</button></form> + <form action="https://docs.taler.net/" target="_blank" rel="noopener noreferrer" style="display:inline;"><button type="submit" class="btn btn-secondary">{{ _("Read Docs")}}</button></form> + <form action="https://taler-systems.com/" target="_blank" rel="noopener noreferrer" style="display:inline;"><button type="submit" class="btn btn-secondary">{{ _("Commercial Support")}}</button></form> </p> </div> <div class="col-lg-4"> @@ -57,7 +55,7 @@ </div> {% for item in newsdata[:3] %} <div class="col-12"> - <a href="{{ url_localized(item['page']) }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a> + <a href="{{ url_localized('news/' + item['page']) }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a> </div> {% endfor %} </div> |