aboutsummaryrefslogtreecommitdiff
path: root/template/news/index.html.j2
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-11-29 17:59:39 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-11-29 17:59:39 +0900
commitbb53c22b82fe5b434e605ac28cef2ba502b7d6d5 (patch)
treec912f5e29847a940e8bf5e5ff9a75fa5cb038325 /template/news/index.html.j2
parent8a97f821b6f0bd86b65c1084b1ceceadce888435 (diff)
downloadwww-bb53c22b82fe5b434e605ac28cef2ba502b7d6d5.tar.gz
www-bb53c22b82fe5b434e605ac28cef2ba502b7d6d5.zip
Update oldnews
Diffstat (limited to 'template/news/index.html.j2')
-rw-r--r--template/news/index.html.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/template/news/index.html.j2 b/template/news/index.html.j2
index 004d46e7..c359d837 100644
--- a/template/news/index.html.j2
+++ b/template/news/index.html.j2
@@ -19,7 +19,7 @@
19 </div> 19 </div>
20 </div> 20 </div>
21 <div class="row"> 21 <div class="row">
22 {% for year, yitem in newsdata|selectattr('date.year', 'gt', 2019)|groupby('date.year')|reverse %} 22 {% for year, yitem in newsdata|selectattr('date.year', 'gt', 2021)|groupby('date.year')|reverse %}
23 <b>{{ year }}</b> 23 <b>{{ year }}</b>
24 <ul class="timeline"> 24 <ul class="timeline">
25 {% for item in yitem %} 25 {% for item in yitem %}
@@ -47,7 +47,7 @@
47 {% endtrans %} 47 {% endtrans %}
48 </h2> 48 </h2>
49 <ul> 49 <ul>
50 {% for year, yitem in newsdata|selectattr('date.year', 'lt', 2020)|groupby('date.year')|reverse %} 50 {% for year, yitem in newsdata|selectattr('date.year', 'lt', 2022)|groupby('date.year')|reverse %}
51 <li><a href="{{ 'oldnews-' + year|string + '.html' }}">{{ year }} ({{yitem|length}})</a></li> 51 <li><a href="{{ 'oldnews-' + year|string + '.html' }}">{{ year }} ({{yitem|length}})</a></li>
52 {% endfor %} 52 {% endfor %}
53 </ul> 53 </ul>