gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[www] branch master updated: Update oldnews


From: gnunet
Subject: [www] branch master updated: Update oldnews
Date: Tue, 29 Nov 2022 09:59:46 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository www.

The following commit(s) were added to refs/heads/master by this push:
     new bb53c22b Update oldnews
bb53c22b is described below

commit bb53c22b82fe5b434e605ac28cef2ba502b7d6d5
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Tue Nov 29 17:59:39 2022 +0900

    Update oldnews
---
 template/news/index.html.j2        | 4 ++--
 template/news/oldnews-2020.html.j2 | 5 +++++
 template/news/oldnews-2021.html.j2 | 5 +++++
 3 files changed, 12 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 @@
           </div>
         </div>
         <div class="row">
-          {% for year, yitem in newsdata|selectattr('date.year', 'gt', 
2019)|groupby('date.year')|reverse %}
+          {% for year, yitem in newsdata|selectattr('date.year', 'gt', 
2021)|groupby('date.year')|reverse %}
           <b>{{ year }}</b>
           <ul class="timeline">
           {% for item in yitem %}
@@ -47,7 +47,7 @@
           {% endtrans %}
         </h2>
         <ul>
-        {% for year, yitem in newsdata|selectattr('date.year', 'lt', 
2020)|groupby('date.year')|reverse %}
+        {% for year, yitem in newsdata|selectattr('date.year', 'lt', 
2022)|groupby('date.year')|reverse %}
           <li><a href="{{ 'oldnews-' + year|string + '.html' }}">{{ year }} 
({{yitem|length}})</a></li>
         {% endfor %}
         </ul>
diff --git a/template/news/oldnews-2020.html.j2 
b/template/news/oldnews-2020.html.j2
new file mode 100644
index 00000000..23691b6c
--- /dev/null
+++ b/template/news/oldnews-2020.html.j2
@@ -0,0 +1,5 @@
+{% extends "common/base.j2" %}
+{% from "common/old-news.j2.inc" import oldnews with context %}
+{% block body_content %}
+{{ oldnews(2019) }}
+{% endblock body_content %}
diff --git a/template/news/oldnews-2021.html.j2 
b/template/news/oldnews-2021.html.j2
new file mode 100644
index 00000000..23691b6c
--- /dev/null
+++ b/template/news/oldnews-2021.html.j2
@@ -0,0 +1,5 @@
+{% extends "common/base.j2" %}
+{% from "common/old-news.j2.inc" import oldnews with context %}
+{% block body_content %}
+{{ oldnews(2019) }}
+{% endblock body_content %}

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]