From 28319f6e7302be38db45e85767b156fe4496e13f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 17 Jan 2026 18:54:04 -0400 Subject: content, css: generateMusicVideo: canonically don't chunkwrap --- src/content/dependencies/generateArtistCredit.js | 14 ++++++++++---- src/content/dependencies/generateMusicVideo.js | 1 + src/static/css/site.css | 4 ++++ 3 files changed, 15 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', }), diff --git a/src/static/css/site.css b/src/static/css/site.css index 1b4f3a84..8390a0a7 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -1954,6 +1954,10 @@ p.image-details.origin-details .filename-line { text-indent: 0; } +.music-video .release-line + br { + display: none; +} + .album-art-info { font-size: 0.8em; border: 2px solid var(--deep-color); -- cgit 1.3.0-6-gf8a5