diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateCommentarySection.js | 3 | ||||
-rw-r--r-- | src/content/dependencies/generateTrackInfoPage.js | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/content/dependencies/generateCommentarySection.js b/src/content/dependencies/generateCommentarySection.js index 6e7fea6a..ed871b47 100644 --- a/src/content/dependencies/generateCommentarySection.js +++ b/src/content/dependencies/generateCommentarySection.js @@ -29,6 +29,7 @@ export default { slots: { title: {type: 'html', mutable: false}, + id: {type: 'string', default: 'artist-commentary'}, }, generate: (data, relations, slots, {html, language}) => @@ -41,7 +42,7 @@ export default { : slots.title), attributes: [ - {id: 'artist-commentary'}, + {id: slots.id}, data.firstEntryIsDated && {class: 'first-entry-is-dated'}, ], diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js index dd234bf4..2a7d5094 100644 --- a/src/content/dependencies/generateTrackInfoPage.js +++ b/src/content/dependencies/generateTrackInfoPage.js @@ -364,8 +364,8 @@ export default { relations.artistCommentarySection, relations.creditSourcesSection.slots({ - title: - language.$('misc.creditSources'), + id: 'credit-sources', + title: language.$('misc.creditSources'), }), ], |