From 9526a54312e836d789620472e8325567165e4e53 Mon Sep 17 00:00:00 2001 From: Amit Aryeh Levy Date: Tue, 24 Oct 2023 10:26:26 -0400 Subject: [PATCH] Order publications by year, then appearance in data file --- publications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publications.md b/publications.md index f0952e2..12aa730 100644 --- a/publications.md +++ b/publications.md @@ -4,7 +4,7 @@ title: Publications permalink: /publications/ --- -{%- assign publications = site.data.publications | sort: "year" | reverse -%} +{%- assign publications = site.data.publications | reverse | sort: "year" | reverse -%} {%- assign year = publications | map: "year" | first -%} ## {{year}}