commit 84817a5fd149f5293742cce08af45c4b92e8672b parent 911e5e1cbb4e6ea8531d4ef4e843780606ccb1eb Author: Florian Dold <florian@dold.me> Date: Fri, 7 May 2021 19:59:34 +0200 fix news link Diffstat:
| M | template/index.html.j2 | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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>