summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-05-07 19:59:34 +0200
committerFlorian Dold <florian@dold.me>2021-05-07 19:59:34 +0200
commit84817a5fd149f5293742cce08af45c4b92e8672b (patch)
treebfc09ee190309c24253f2f2645458f2c9081ae2e /template
parent911e5e1cbb4e6ea8531d4ef4e843780606ccb1eb (diff)
downloadwww-84817a5fd149f5293742cce08af45c4b92e8672b.tar.gz
www-84817a5fd149f5293742cce08af45c4b92e8672b.tar.bz2
www-84817a5fd149f5293742cce08af45c4b92e8672b.zip
fix news link
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 ace72d58..a7a291f5 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -57,7 +57,7 @@
</div>
{% for item in newsdata[:3] %}
<div class="col-12">
- <a href="news/{{ item['page'] }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a>
+ <a href="{{ url_localized(item['page']) }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a>
</div>
{% endfor %}
</div>