diff options
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 |
commit | 857858ca9c5ce220242676561190dfc2c9713fbc (patch) | |
tree | 43a7df536042be1bd965f01ae0001de0df2a6f64 /src | |
parent | 86dcca95772d98350171962de786053466db043c (diff) |
content: generateAdditionalFilesListChunk: colorize entry title
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateAdditionalFilesListChunk.js | 6 |
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'); |