« get me outta code hell

content: generateAdditionalFilesListChunk: colorize entry title - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-02 17:15:58 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-04-02 17:15:58 -0300
commit857858ca9c5ce220242676561190dfc2c9713fbc (patch)
tree43a7df536042be1bd965f01ae0001de0df2a6f64 /src/content/dependencies
parent86dcca95772d98350171962de786053466db043c (diff)
content: generateAdditionalFilesListChunk: colorize entry title
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateAdditionalFilesListChunk.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAdditionalFilesListChunk.js b/src/content/dependencies/generateAdditionalFilesListChunk.js
index f5a82197..d0a603a8 100644
--- a/src/content/dependencies/generateAdditionalFilesListChunk.js
+++ b/src/content/dependencies/generateAdditionalFilesListChunk.js
@@ -19,7 +19,11 @@ export default {
 
   generate(slots, {html, language}) {
     const titleParts = ['releaseInfo.additionalFiles.entry'];
-    const titleOptions = {title: slots.title};
+    const titleOptions = {
+      title:
+        html.tag('span', {class: 'group-name'},
+          slots.title),
+    };
 
     if (!html.isBlank(slots.description)) {
       titleParts.push('withDescription');