[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[www] branch master updated: news with date in front.
From: |
gnunet |
Subject: |
[www] branch master updated: news with date in front. |
Date: |
Mon, 04 Nov 2019 23:23:03 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository www.
The following commit(s) were added to refs/heads/master by this push:
new d5c3f12 news with date in front.
d5c3f12 is described below
commit d5c3f1223f0de3831cbb1efbe1f29031e39ccecd
Author: ng0 <address@hidden>
AuthorDate: Mon Nov 4 22:20:05 2019 +0000
news with date in front.
---
news/index.html.j2 | 2 +-
template/index.html.j2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/news/index.html.j2 b/news/index.html.j2
index 0d4cac4..6f3e36c 100644
--- a/news/index.html.j2
+++ b/news/index.html.j2
@@ -14,7 +14,7 @@
</p>
<ul>
{% for item in newsdata %}
- <li><a href="{{ item['page'] }}" title="{{ item['date']}}">{{
item['title'] }}</a></li>
+ <li>{{ item['date'] }}: <a href="{{ item['page'] }}" title="{{
item['date']}}">{{ item['title'] }}</a></li>
{% endfor %}
</ul>
</section>
diff --git a/template/index.html.j2 b/template/index.html.j2
index 8db599a..f5837ba 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -384,7 +384,7 @@
</p>
<ul>
{% for item in newsdata[:4] %}
- <li><a href='news/{{ item["page"] }}' title='{{ item["date"]}}'>{{
item["title"] }}</a></li>
+ <li>{{ item['date'] }}: <a href="news/{{ item['page'] }}" title="{{
item['date']}}">{{ item['title'] }}</a></li>
{% endfor %}
</ul>
</div>
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [www] branch master updated: news with date in front.,
gnunet <=