« get me outta code hell

content: misc.albumGrid -> misc.coverGrid - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateCoverGrid.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-11-17 15:32:50 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-11-17 16:35:13 -0400
commitd3a0e1b52aef93e3f74e557229e93a0a123c3e4b (patch)
treedb1d6b179e514e478768db27a011ddc88cb34cbc /src/content/dependencies/generateCoverGrid.js
parentc4d11bebb50f1ac2f07a06732b12f6d471bd1bf0 (diff)
content: misc.albumGrid -> misc.coverGrid
Diffstat (limited to 'src/content/dependencies/generateCoverGrid.js')
-rw-r--r--src/content/dependencies/generateCoverGrid.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/content/dependencies/generateCoverGrid.js b/src/content/dependencies/generateCoverGrid.js
index 0433aaf1..fa9b3dda 100644
--- a/src/content/dependencies/generateCoverGrid.js
+++ b/src/content/dependencies/generateCoverGrid.js
@@ -44,11 +44,19 @@ export default {
                       : false),
                 }),
 
-                html.tag('span', {[html.onlyIfContent]: true},
+                html.tag('span',
+                  {[html.onlyIfContent]: true},
+
                   language.sanitize(name)),
 
-                html.tag('span', {[html.onlyIfContent]: true},
-                  language.sanitize(info)),
+                html.tag('span',
+                  {[html.onlyIfContent]: true},
+
+                  language.$('misc.coverGrid.details.accent', {
+                    [language.onlyIfOptions]: ['details'],
+
+                    details: info,
+                  })),
               ],
             })),