diff --git a/package-lock.json b/package-lock.json index 6af79796..0e9c1ab3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "16.5.4", + "version": "16.5.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "16.5.4", + "version": "16.5.6", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.2.2", diff --git a/package.json b/package.json index 1b1e0a48..abd67f26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "16.5.4", + "version": "16.5.6", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_data/albumReleases.js b/src/_data/albumReleases.js index 15571e81..905b103d 100644 --- a/src/_data/albumReleases.js +++ b/src/_data/albumReleases.js @@ -32,6 +32,7 @@ export default async function () { url: album['release_link'], genre: album['artists']['genre'], mbid: album['artists']['mbid'], + timestamp: DateTime.fromISO(album['release_date']).toSeconds() } - }) + }).sort((a, b) => a.timestamp - b.timestamp) }