diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-09-24 10:29:09 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-24 15:51:50 -0300 |
commit | 528d909f4eeec9d7f6b54031752a94a6c9dca5ab (patch) | |
tree | 45fce5bb3c198b96550df79c044672392966ddab /src/content/dependencies | |
parent | 1b81e54834d5f447b5b6e52eb7dfb875673a44f1 (diff) |
content: generateAlbum{CommentaryPage,SidebarTrackSection}: merge fixes
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateAlbumCommentaryPage.js | 4 | ||||
-rw-r--r-- | src/content/dependencies/generateAlbumSidebarTrackSection.js | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/content/dependencies/generateAlbumCommentaryPage.js b/src/content/dependencies/generateAlbumCommentaryPage.js index 85a2108c..5c057b80 100644 --- a/src/content/dependencies/generateAlbumCommentaryPage.js +++ b/src/content/dependencies/generateAlbumCommentaryPage.js @@ -150,9 +150,7 @@ export default { language.$('albumCommentaryPage.entry.title.albumCommentary')), relations.albumCommentaryCover - ?.slots({ - displayMode: 'commentary', - }), + ?.slots({mode: 'commentary'}), html.tag('blockquote', relations.albumCommentaryContent), diff --git a/src/content/dependencies/generateAlbumSidebarTrackSection.js b/src/content/dependencies/generateAlbumSidebarTrackSection.js index e8c0377d..00e9b621 100644 --- a/src/content/dependencies/generateAlbumSidebarTrackSection.js +++ b/src/content/dependencies/generateAlbumSidebarTrackSection.js @@ -45,7 +45,7 @@ export default { open: {type: 'boolean'}, }, - generate(slots, data, relations, {getColors, html, language}) { + generate(data, relations, slots, {getColors, html, language}) { const sectionName = html.tag('span', {class: 'group-name'}, (data.isDefaultTrackSection |