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 | |
| parent | a13df6fe61fc5368af9f0bb08d741c3197d721cb (diff) | |
content, css: generateMusicVideo: canonically don't chunkwrap
Diffstat (limited to 'src')
| -rw-r--r-- | src/content/dependencies/generateArtistCredit.js | 14 | ||||
| -rw-r--r-- | src/content/dependencies/generateMusicVideo.js | 1 | ||||
| -rw-r--r-- | 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); |