« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateGroupGalleryPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/generateGroupGalleryPage.js')
-rw-r--r--src/content/dependencies/generateGroupGalleryPage.js32
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