From f63f2822a6e75ed25d6a18bba1614ae698384e98 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 17 Jan 2026 05:10:10 -0400 Subject: content: listTracksWithMusicVideos: hide album dates --- src/content/dependencies/listTracksWithExtra.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/content/dependencies/listTracksWithExtra.js') diff --git a/src/content/dependencies/listTracksWithExtra.js b/src/content/dependencies/listTracksWithExtra.js index 09d8ee21..27f03ee9 100644 --- a/src/content/dependencies/listTracksWithExtra.js +++ b/src/content/dependencies/listTracksWithExtra.js @@ -52,6 +52,7 @@ export default { slots: { hash: {type: 'string'}, + showAlbumDates: {type: 'boolean', default: true}, }, generate(data, relations, slots, {language}) { @@ -63,7 +64,7 @@ export default { albumLink: relations.albumLinks, date: data.dates, }).map(({albumLink, date}) => - (date + (slots.showAlbumDates && date ? { stringsKey: 'withDate', album: albumLink, -- cgit 1.3.0-6-gf8a5