diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-06-15 17:21:25 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-06-15 17:21:48 -0300 |
commit | 470536c0ead771976e6b8771930eabb8030081c4 (patch) | |
tree | d11f0cbd27d8adde74980bafacacba9a1c364ffe /src/content | |
parent | e85c7b765c106006d45befcefa23789c3c57484c (diff) |
content: generateAlbumSecondaryNav: no empty accent parentheses
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateAlbumSecondaryNav.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAlbumSecondaryNav.js b/src/content/dependencies/generateAlbumSecondaryNav.js index b2cfef69..6616f20e 100644 --- a/src/content/dependencies/generateAlbumSecondaryNav.js +++ b/src/content/dependencies/generateAlbumSecondaryNav.js @@ -1,3 +1,5 @@ +import {empty} from '../../util/sugar.js'; + export default { contentDependencies: [ 'generateColorStyleVariables', @@ -80,7 +82,7 @@ export default { ].filter(Boolean); return ( - (slots.mode === 'album' + (slots.mode === 'album' && !empty(links) ? html.tag('span', {style: colorVariables}, [ language.$('albumSidebar.groupBox.title', { group: groupLink, |