diff options
author | Florian Dold <florian@dold.me> | 2021-05-07 19:59:34 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-05-07 19:59:34 +0200 |
commit | 84817a5fd149f5293742cce08af45c4b92e8672b (patch) | |
tree | bfc09ee190309c24253f2f2645458f2c9081ae2e | |
parent | 911e5e1cbb4e6ea8531d4ef4e843780606ccb1eb (diff) | |
download | www-84817a5fd149f5293742cce08af45c4b92e8672b.tar.gz www-84817a5fd149f5293742cce08af45c4b92e8672b.tar.bz2 www-84817a5fd149f5293742cce08af45c4b92e8672b.zip |
fix news link
-rw-r--r-- | template/index.html.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/index.html.j2 b/template/index.html.j2 index ace72d5..a7a291f 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> |