Skip to content

Commit

Permalink
Order publications by year, then appearance in data file
Browse files Browse the repository at this point in the history
  • Loading branch information
alevy committed Oct 24, 2023
1 parent 51bdf3d commit 9526a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 9526a54

Please sign in to comment.