diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-12-29 22:59:20 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-12-30 16:26:36 -0400 |
commit | f400a43640e7106d181d55365a9617c3d12e5891 (patch) | |
tree | 91c7911c2f5e91d4a230f807814930761991d23a /src/content/dependencies/generateGroupGalleryPage.js | |
parent | 25c434a514152fdd02e5405e4de418cd62614c6a (diff) |
content: misc content syntax cleanup, mostly attribute merging
Diffstat (limited to 'src/content/dependencies/generateGroupGalleryPage.js')
-rw-r--r-- | src/content/dependencies/generateGroupGalleryPage.js | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/src/content/dependencies/generateGroupGalleryPage.js b/src/content/dependencies/generateGroupGalleryPage.js index 259f5dce..490dcf10 100644 --- a/src/content/dependencies/generateGroupGalleryPage.js +++ b/src/content/dependencies/generateGroupGalleryPage.js @@ -132,21 +132,25 @@ export default { image.slot('path', path)), }), - html.tag('p', - {class: 'quick-info'}, + html.tag('p', {class: 'quick-info'}, language.$('groupGalleryPage.infoLine', { - tracks: html.tag('b', - language.countTracks(data.numTracks, { - unit: true, - })), - albums: html.tag('b', - language.countAlbums(data.numAlbums, { - unit: true, - })), - time: html.tag('b', - language.formatDuration(data.totalDuration, { - unit: true, - })), + tracks: + html.tag('b', + language.countTracks(data.numTracks, { + unit: true, + })), + + albums: + html.tag('b', + language.countAlbums(data.numAlbums, { + unit: true, + })), + + time: + html.tag('b', + language.formatDuration(data.totalDuration, { + unit: true, + })), })), relations.coverGrid |