aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-05-10 18:51:53 +0200
committerFlorian Dold <florian@dold.me>2021-05-10 18:51:53 +0200
commitff359a3b252ca02d71bee30c1be62abc9ca1ad75 (patch)
tree0164c51e3d89a6f2a3b7195fe5f7c77ab35cc8e6 /template
parentb85f5762d73c6469fbea9ac6d5cc153d8d11cd36 (diff)
downloadwww-ff359a3b252ca02d71bee30c1be62abc9ca1ad75.tar.gz
www-ff359a3b252ca02d71bee30c1be62abc9ca1ad75.zip
fix frontpage links
Diffstat (limited to 'template')
-rw-r--r--template/index.html.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/template/index.html.j2 b/template/index.html.j2
index 6bc85b2f..4114785f 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -26,7 +26,7 @@
26 <h2>{{ _("Latest news") }}</h2> 26 <h2>{{ _("Latest news") }}</h2>
27 <p> 27 <p>
28 {% for item in newsdata[:3] %} 28 {% for item in newsdata[:3] %}
29 <a class="link" href="news/{{ item['page'] }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a><br/> 29 <a class="link" href="{{ url_localized(item['page']) }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a><br/>
30 {% endfor %} 30 {% endfor %}
31 <br/> 31 <br/>
32 <a class="link" href="{{ url_localized('news/index.html')}}">{{ _("Older news entries") }}</a> 32 <a class="link" href="{{ url_localized('news/index.html')}}">{{ _("Older news entries") }}</a>