From 248d731bc8108bae8538de7f9abd9337b97684bf Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 23 Jun 2024 16:43:44 -0300 Subject: content: generateTrackInfoPage: jump to credit sources line --- src/content/dependencies/generateTrackInfoPage.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/content') diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js index 2a7d5094..9e4a4059 100644 --- a/src/content/dependencies/generateTrackInfoPage.js +++ b/src/content/dependencies/generateTrackInfoPage.js @@ -197,6 +197,15 @@ export default { {href: '#artist-commentary'}, language.$(capsule, 'link')), })), + + !html.isBlank(relations.creditSourcesSection) && + language.encapsulate(capsule, 'readCreditSources', capsule => + language.$(capsule, { + link: + html.tag('a', + {href: '#credit-sources'}, + language.$(capsule, 'link')), + })), ])), html.tags([ -- cgit 1.3.0-6-gf8a5