Skip to content

Commit af42096

Browse files
martamaja10mdessole
andcommitted
Display publications by year only
Co-authored-by: Monica Dessole <[email protected]>
1 parent 0317a7d commit af42096

File tree

2 files changed

+32
-24
lines changed

2 files changed

+32
-24
lines changed

_includes/publications_list

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
11
{% assign type = {{include.type}} %}
22
{% assign status = {{include.status}} %}
3+
{% assign before = {{include.before | date: '%Y-%m-%d %H:%M' }}%}
4+
{% assign after = {{include.after | date: '%Y-%m-%d %H:%M' }}%}
35

46
{% assign sorted = site.publications | sort: 'date' | reverse %}
57

68
{% for pub in sorted %}
79

8-
{% if type == pub.type %}
10+
{% if (type == pub.type or status == "ANY") %}
11+
{% if pub.type == "NotROOT" and status == "ANY" %}
12+
{% continue %}
13+
{% endif %}
14+
{% assign pubdate = {{pub.date | date: '%Y-%m-%d %H:%M' }}%}
15+
{% if before %}
16+
{% if pubdate > before %}
17+
{% continue %}
18+
{% endif %}
19+
{% endif %}
20+
{% if after %}
21+
{% if pubdate <= after %}
22+
{% continue %}
23+
{% endif %}
24+
{% endif %}
925
<p style="margin-left:5%;">
1026
<em><b>{{ pub.title }}</b></em><br>
1127
{% if pub.publication %} <span style="color: white; background-color: blue; border-radius: 5px; padding: 5px; text-align:center; "><b>Publication</b></span> {{ pub.publication }}, {{ pub.year }}<br>{% endif %}

about/publications.md

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,28 @@ toc: true
77
toc_sticky: true
88
---
99

10+
## ROOT papers
1011

11-
## Overview contributions on ROOT
12-
{% include publications_list type="ROOT" %}
12+
### 2025
13+
{% include publications_list status="ANY" before="2026-01-01" after="2025-01-01" %}
1314

14-
## ROOT contributions by topics
15+
### 2024
16+
{% include publications_list status="ANY" before="2025-01-01" after="2024-01-01" %}
1517

16-
### I/O
17-
{% include publications_list type="IO" %}
18+
### 2023
19+
{% include publications_list status="ANY" before="2024-01-01" after="2023-01-01" %}
1820

19-
### RDataFrame
20-
{% include publications_list type="RDF" %}
21+
### 2022
22+
{% include publications_list status="ANY" before="2023-01-01" after="2022-01-01" %}
2123

22-
### TMVA, ML
23-
{% include publications_list type="TMVA" %}
24+
### 2021
25+
{% include publications_list status="ANY" before="2022-01-01" after="2021-01-01" %}
2426

25-
### RooFit
26-
{% include publications_list type="ROOFIT" %}
27+
### 2020
28+
{% include publications_list status="ANY" before="2021-01-01" after="2020-01-01" %}
2729

28-
### Cling / C++
29-
{% include publications_list type="CLING" %}
30-
31-
### Visualization
32-
{% include publications_list type="VIS" %}
33-
34-
### Parallelism
35-
{% include publications_list type="PARA" %}
36-
37-
### CINT
38-
CINT was the C++ interpreter until ROOT version 5. In case you want to cite CINT, use the following references:
39-
{% include publications_list type="CINT" %}
30+
### Older
31+
{% include publications_list status="ANY" before="2020-01-01" %}
4032

4133
## Not ROOT contributions, but related
4234
{% include publications_list type="NotROOT" %}

0 commit comments

Comments
 (0)