diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-09-11 17:30:55 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-09-11 17:32:22 -0300 |
commit | 2da0d55d67c099defa7058dcb558f6ea7e0d2651 (patch) | |
tree | 400635bba0c2097c99bd12cf0210c6ba1c57633d /src/content/dependencies/generateTrackSocialEmbed.js | |
parent | f198626619b9dba45156632d1d81eced1192bd38 (diff) |
content: generateTrackSocialEmbedDescription: implement this
Geez
Diffstat (limited to 'src/content/dependencies/generateTrackSocialEmbed.js')
-rw-r--r-- | src/content/dependencies/generateTrackSocialEmbed.js | 18 |
1 files changed, 3 insertions, 15 deletions
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, - }, -*/ |