diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-06-23 16:43:44 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-24 15:03:11 -0300 |
commit | 248d731bc8108bae8538de7f9abd9337b97684bf (patch) | |
tree | 19ad61288f5c8e7b11a84e62767e1d18db99e111 /src/content/dependencies | |
parent | 3f82268bd6fd7afc2d032e55774a83a0c7507ad5 (diff) |
content: generateTrackInfoPage: jump to credit sources line
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateTrackInfoPage.js | 9 |
1 files changed, 9 insertions, 0 deletions
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([ |