« get me outta code hell

content: gAIPChunk: items slot -> list - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateArtistInfoPageTracksChunk.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-11-04 09:20:50 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-11-04 09:21:54 -0400
commite2d8c60381d6c712de3a7bdacd8d9fcb8b570897 (patch)
tree5fcb7251eff00fb391ab5aed6652ebaa4edd8724 /src/content/dependencies/generateArtistInfoPageTracksChunk.js
parentfe0c825e5b969e7869549aaebc5f96b29697f77a (diff)
content: gAIPChunk: items slot -> list
Diffstat (limited to 'src/content/dependencies/generateArtistInfoPageTracksChunk.js')
-rw-r--r--src/content/dependencies/generateArtistInfoPageTracksChunk.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageTracksChunk.js b/src/content/dependencies/generateArtistInfoPageTracksChunk.js
index 3e4cc4e9..2d932cbb 100644
--- a/src/content/dependencies/generateArtistInfoPageTracksChunk.js
+++ b/src/content/dependencies/generateArtistInfoPageTracksChunk.js
@@ -46,7 +46,7 @@ export default {
     return data;
   },
 
-  generate: (data, relations) =>
+  generate: (data, relations, {html}) =>
     relations.template.slots({
       mode: 'album',
 
@@ -56,6 +56,7 @@ export default {
       duration: data.duration,
       durationApproximate: data.durationApproximate,
 
-      items: relations.items,
+      list:
+        html.tag('ul', relations.items),
     }),
 };