summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/index.html.j23
1 files changed, 1 insertions, 2 deletions
diff --git a/template/index.html.j2 b/template/index.html.j2
index e74f82cd..5720ce23 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -1,6 +1,5 @@
{% extends "common/base.j2" %}
{% block body_content %}
- {% import 'inc/news.macro.j2' as news %}
<div class="container">
<div class="row justify-content-center">
@@ -12,7 +11,7 @@
<div class="row justify-content-center text-center">
<div class="col-8">
{% for item in newsdata[:1] %}
- {{ news.tinylinkpreview(item, prefix="news/") }}
+ <a href="news/{{ item['page'] }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a>
{% endfor %}
</div>
</div>