From 857858ca9c5ce220242676561190dfc2c9713fbc Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 2 Apr 2024 17:15:58 -0300 Subject: content: generateAdditionalFilesListChunk: colorize entry title --- src/content/dependencies/generateAdditionalFilesListChunk.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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'); -- cgit 1.3.0-6-gf8a5