summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/index.html.j223
1 files changed, 15 insertions, 8 deletions
diff --git a/template/index.html.j2 b/template/index.html.j2
index 2598536c..1c55d09d 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -8,14 +8,6 @@
</div>
</div>
- <div class="row justify-content-center text-center">
- <div class="col-8">
- {% for item in newsdata[:1] %}
- <a href="news/{{ item['page'] }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a>
- {% endfor %}
- </div>
- </div>
-
<div class="row mt-5">
</div>
@@ -55,6 +47,21 @@
<img class="img-fluid" src="{{ url_static('images/stock1s.jpg') }}" style="border-radius: 1cm;" />
</div>
</div>
+
+ <div class="row mt-5">
+ </div>
+ <div class="row">
+ <div class="col-8">
+ <h2><a href="{{ url_localized('news/index.html')}}">{{ _("News") }}</a></h2>
+ </div>
+ {% for item in newsdata[:3] %}
+ <div class="col-8">
+ <a href="news/{{ item['page'] }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a>
+ </div>
+ {% endfor %}
+ </div>
+
</div>
+
{% endblock body_content %}