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