« get me outta code hell

content: generateListingPage: handle chunks w/o ids properly - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-06-10 23:04:04 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-10 23:04:04 -0300
commitcc053537f64c45b1ff3eb2f8952bab0a167786f4 (patch)
treec7e32e1de7585b66c99d9cda44469f9187dbc289 /src/content
parent2cc1e392fb06bf09f2e8d74d325c25f937ec8c4b (diff)
content: generateListingPage: handle chunks w/o ids properly
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateListingPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateListingPage.js b/src/content/dependencies/generateListingPage.js
index c94bef86..5f9a99a9 100644
--- a/src/content/dependencies/generateListingPage.js
+++ b/src/content/dependencies/generateListingPage.js
@@ -249,7 +249,7 @@ export default {
                   .clone()
                   .slots({
                     tag: 'dt',
-                    attributes: {id},
+                    attributes: [id && {id}],
 
                     title:
                       formatListingString({