summaryrefslogtreecommitdiff
path: root/template/news
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-05-07 13:45:43 +0200
committerFlorian Dold <florian@dold.me>2021-05-07 13:45:43 +0200
commit40f0632030361574130fa6b2794d7fccaca4eacb (patch)
tree5906a096470f259c1d9ce4d99fff9245bf969ab6 /template/news
parent749e2c6b9fe2ec95b5ca2b71e0513d6301790a96 (diff)
downloadwww-40f0632030361574130fa6b2794d7fccaca4eacb.tar.gz
www-40f0632030361574130fa6b2794d7fccaca4eacb.tar.bz2
www-40f0632030361574130fa6b2794d7fccaca4eacb.zip
news needs localized URL
Diffstat (limited to 'template/news')
-rw-r--r--template/news/index.html.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/template/news/index.html.j2 b/template/news/index.html.j2
index 65b44add..a678021b 100644
--- a/template/news/index.html.j2
+++ b/template/news/index.html.j2
@@ -30,7 +30,7 @@
</header>
<p class="item-abstract">
{{ get_abstract(item['page'], 1000) }} <br/>
- [<a href="{{ url(item['page']) }}" title="{{ item['date']}}">{{ _("read more") }}</a>]
+ [<a href="{{ url_localized(item['page']) }}" title="{{ item['date']}}">{{ _("read more") }}</a>]
</p>
</section>
</div>