From 2da0d55d67c099defa7058dcb558f6ea7e0d2651 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 11 Sep 2024 17:30:55 -0300 Subject: content: generateTrackSocialEmbedDescription: implement this Geez --- src/content/dependencies/generateTrackSocialEmbed.js | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'src/content/dependencies/generateTrackSocialEmbed.js') diff --git a/src/content/dependencies/generateTrackSocialEmbed.js b/src/content/dependencies/generateTrackSocialEmbed.js index 9868f0e2..d8e21e38 100644 --- a/src/content/dependencies/generateTrackSocialEmbed.js +++ b/src/content/dependencies/generateTrackSocialEmbed.js @@ -47,6 +47,9 @@ export default { track: data.trackName, }), + description: + relations.description, + headingContent: language.$(embedCapsule, 'heading', { album: data.albumName, @@ -69,18 +72,3 @@ export default { : null), })), }; - -/* - socialEmbed: { - heading: language.$('trackPage.socialEmbed.heading', { - album: track.album.name, - }), - headingLink: absoluteTo('localized.album', album.directory), - title: language.$('trackPage.socialEmbed.title', { - track: track.name, - }), - description: getSocialEmbedDescription({getArtistString, language}), - image: '/' + getTrackCover(track, {to: urls.from('shared.root').to}), - color: track.color, - }, -*/ -- cgit 1.3.0-6-gf8a5