[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[www] branch master updated: fix frontpage links
From: |
gnunet |
Subject: |
[www] branch master updated: fix frontpage links |
Date: |
Mon, 10 May 2021 18:54:11 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository www.
The following commit(s) were added to refs/heads/master by this push:
new ff359a3 fix frontpage links
ff359a3 is described below
commit ff359a3b252ca02d71bee30c1be62abc9ca1ad75
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon May 10 18:51:53 2021 +0200
fix frontpage links
---
locale/en/LC_MESSAGES/messages.mo | Bin 443 -> 443 bytes
template/index.html.j2 | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/en/LC_MESSAGES/messages.mo
b/locale/en/LC_MESSAGES/messages.mo
index e45020c..95bfb78 100644
Binary files a/locale/en/LC_MESSAGES/messages.mo and
b/locale/en/LC_MESSAGES/messages.mo differ
diff --git a/template/index.html.j2 b/template/index.html.j2
index 6bc85b2..4114785 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -26,7 +26,7 @@
<h2>{{ _("Latest news") }}</h2>
<p>
{% for item in newsdata[:3] %}
- <a class="link" href="news/{{ item['page'] }}" title="{{
item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a><br/>
+ <a class="link" href="{{ url_localized(item['page']) }}" title="{{
item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a><br/>
{% endfor %}
<br/>
<a class="link" href="{{ url_localized('news/index.html')}}">{{
_("Older news entries") }}</a>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [www] branch master updated: fix frontpage links,
gnunet <=