From 2ecea9939bc3614e67388cc7be83f5366b57464b Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 11 May 2024 12:21:43 -0700 Subject: [PATCH] fix: property name --- package.json | 2 +- src/_data/music.js | 4 ++-- src/_includes/now.liquid | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index d045ade4..1493cf6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "14.1.2", + "version": "14.1.3", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_data/music.js b/src/_data/music.js index 2e36d273..8ed1a143 100644 --- a/src/_data/music.js +++ b/src/_data/music.js @@ -103,9 +103,9 @@ export default async function() { artists: aggregateData(recentData, 'artist_name', 'artists'), albums: aggregateData(recentData, 'album_name', 'albums'), tracks: aggregateData(recentData, 'track_name', 'track'), - trackChart: aggregateData(recentData, 'track_name', 'track', false), + tracksChronological: aggregateData(recentData, 'track_name', 'track', false), } - results.nowPlaying = results.recent.trackChart[0] + results.nowPlaying = results.recent.tracksChronological[0] return results } \ No newline at end of file diff --git a/src/_includes/now.liquid b/src/_includes/now.liquid index f339382a..a592cfa7 100644 --- a/src/_includes/now.liquid +++ b/src/_includes/now.liquid @@ -68,7 +68,7 @@ layout: default
- {% render "partials/now/tracks-recent.liquid", data:music.recent.trackChart %} + {% render "partials/now/tracks-recent.liquid", data:music.recent.tracksChronological %}