From f400a43640e7106d181d55365a9617c3d12e5891 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 29 Dec 2023 22:59:20 -0400 Subject: content: misc content syntax cleanup, mostly attribute merging --- src/content/dependencies/generateArtistInfoPageChunkItem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/content/dependencies/generateArtistInfoPageChunkItem.js') diff --git a/src/content/dependencies/generateArtistInfoPageChunkItem.js b/src/content/dependencies/generateArtistInfoPageChunkItem.js index 9f99513d..de31d30e 100644 --- a/src/content/dependencies/generateArtistInfoPageChunkItem.js +++ b/src/content/dependencies/generateArtistInfoPageChunkItem.js @@ -39,12 +39,12 @@ export default { break accent; } - accentedContent = language.formatString(parts.join('.'), options); + accentedContent = language.formatString(...parts, options); } return ( html.tag('li', - {class: slots.rerelease && 'rerelease'}, + slots.rerelease && {class: 'rerelease'}, accentedContent)); }, }; -- cgit 1.3.0-6-gf8a5