diff options
Diffstat (limited to 'template/news/index.html.j2')
-rw-r--r-- | template/news/index.html.j2 | 4 |
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> |