From bbf93c9d89b853a6153d2c2ffff63f0f236338bc Mon Sep 17 00:00:00 2001 From: lacava Date: Tue, 25 Jun 2024 17:59:45 -0400 Subject: [PATCH] pubs by date --- _includes/pubs_by_date.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 _includes/pubs_by_date.html diff --git a/_includes/pubs_by_date.html b/_includes/pubs_by_date.html new file mode 100644 index 0000000..71f8898 --- /dev/null +++ b/_includes/pubs_by_date.html @@ -0,0 +1,12 @@ + +{% assign pubgroups = site.data.publications.references + | group_by_exp: "item", "item.issued.first.year | append: '/' | append: item.issued.first.month | append: '/' | append: item.issued.first.day | date: '%Y-%m-%d'" + | sort: "name" + | reverse +%} + +{% assign pubs_by_date = '' | split: '' %} + +{% for pubs in pubgroups %} + {% assign pubs_by_date = pubs_by_date | concat: pubs.items %} +{% endfor %} \ No newline at end of file