From 7aa6747fd8b29e2690ff3522fac731081b2b8946 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 14 Feb 2024 12:12:39 -0400 Subject: content: generateAlbumInfoPage: fix misaligned art chronology info --- src/content/dependencies/generateAlbumInfoPage.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/content/dependencies') diff --git a/src/content/dependencies/generateAlbumInfoPage.js b/src/content/dependencies/generateAlbumInfoPage.js index cb7355f3..26aa4376 100644 --- a/src/content/dependencies/generateAlbumInfoPage.js +++ b/src/content/dependencies/generateAlbumInfoPage.js @@ -58,7 +58,9 @@ export default { sortAlbumsTracksChronologically([ ...artist.albumsAsCoverArtist, ...artist.tracksAsCoverArtist, - ]), + ], { + getDate: thing => thing.coverArtDate ?? thing.date, + }), }); relations.albumNavAccent = -- cgit 1.3.0-6-gf8a5