diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateTrackInfoPage.js | 9 | ||||
-rw-r--r-- | src/strings-default.yaml | 4 |
2 files changed, 13 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([ diff --git a/src/strings-default.yaml b/src/strings-default.yaml index af29ed78..045f0f60 100644 --- a/src/strings-default.yaml +++ b/src/strings-default.yaml @@ -344,6 +344,10 @@ releaseInfo: _: "Read {LINK}." link: "artist commentary" + readCreditSources: + _: "Read {LINK}." + link: "crediting sources" + additionalFiles: heading: "View or download additional files:" |