diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-01-17 18:54:04 -0400 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-01-17 18:54:04 -0400 |
| commit | 28319f6e7302be38db45e85767b156fe4496e13f (patch) | |
| tree | 283930687891b765dba5f257f00c464557b18961 /src/content/dependencies | |
| parent | a13df6fe61fc5368af9f0bb08d741c3197d721cb (diff) | |
content, css: generateMusicVideo: canonically don't chunkwrap
Diffstat (limited to 'src/content/dependencies')
| -rw-r--r-- | src/content/dependencies/generateArtistCredit.js | 14 | ||||
| -rw-r--r-- | src/content/dependencies/generateMusicVideo.js | 1 |
2 files changed, 11 insertions, 4 deletions
diff --git a/src/content/dependencies/generateArtistCredit.js b/src/content/dependencies/generateArtistCredit.js index 389de740..600d73d9 100644 --- a/src/content/dependencies/generateArtistCredit.js +++ b/src/content/dependencies/generateArtistCredit.js @@ -106,6 +106,8 @@ export default { trimAnnotation: {type: 'boolean', default: false}, + chunkwrap: {type: 'boolean', default: true}, + chronologyKind: {type: 'string'}, }, @@ -246,9 +248,13 @@ export default { } } - // TODO: This is obviously evil. - return ( - html.metatag('chunkwrap', {split: /,| (?=and)/}, - html.resolve(content))); + if (slots.chunkwrap) { + // TODO: This is obviously evil. + return ( + html.metatag('chunkwrap', {split: /,| (?=and)/}, + html.resolve(content))); + } else { + return content; + } }, }; diff --git a/src/content/dependencies/generateMusicVideo.js b/src/content/dependencies/generateMusicVideo.js index e83fdf80..b3171716 100644 --- a/src/content/dependencies/generateMusicVideo.js +++ b/src/content/dependencies/generateMusicVideo.js @@ -60,6 +60,7 @@ export default { showAnnotation: true, showChronology: true, + chunkwrap: false, chronologyKind: 'musicVideoContribution', }), |