From dbc75094b6ad03990998b349aee1d09b1b647cb0 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 29 Mar 2024 16:42:14 -0300 Subject: content: use style: 'platform' external links in various places --- src/content/dependencies/generateAlbumSidebarGroupBox.js | 5 ++++- src/content/dependencies/generateGroupInfoPage.js | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/content/dependencies/generateAlbumSidebarGroupBox.js b/src/content/dependencies/generateAlbumSidebarGroupBox.js index 93ebf5d4..5b7e2e45 100644 --- a/src/content/dependencies/generateAlbumSidebarGroupBox.js +++ b/src/content/dependencies/generateAlbumSidebarGroupBox.js @@ -89,7 +89,10 @@ export default { links: language.formatDisjunctionList( relations.externalLinks - .map(link => link.slot('context', 'group'))), + .map(link => link.slots({ + context: 'group', + style: 'platform', + }))), })), slots.mode === 'album' && diff --git a/src/content/dependencies/generateGroupInfoPage.js b/src/content/dependencies/generateGroupInfoPage.js index 2e1d1688..5cae730b 100644 --- a/src/content/dependencies/generateGroupInfoPage.js +++ b/src/content/dependencies/generateGroupInfoPage.js @@ -137,7 +137,10 @@ export default { links: language.formatDisjunctionList( sec.info.visitLinks - .map(link => link.slot('context', 'group'))), + .map(link => link.slots({ + context: 'group', + style: 'platform', + }))), })), html.tag('blockquote', -- cgit 1.3.0-6-gf8a5