« get me outta code hell

content: generateAlbumGalleryPage: stub album galleries - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-10-06 18:35:19 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-06 18:39:49 -0300
commit08238e0673cc12f642bed0ad0a8f78d784a064df (patch)
tree7f236a9fa3398c032539d20418f79409d8a711d9 /src/page
parentb37d81240307f3e38faaa781c3932feff53e9aac (diff)
content: generateAlbumGalleryPage: stub album galleries
Diffstat (limited to 'src/page')
-rw-r--r--src/page/album.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/page/album.js b/src/page/album.js
index 69fcabcf..af410763 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -5,7 +5,6 @@ export function targets({wikiData}) {
 }
 
 export function pathsForTarget(album) {
-  const hasGalleryPage = album.tracks.some(t => t.hasUniqueCoverArt);
   const hasCommentaryPage = !!album.commentary || album.tracks.some(t => t.commentary);
 
   return [
@@ -19,7 +18,7 @@ export function pathsForTarget(album) {
       },
     },
 
-    hasGalleryPage && {
+    {
       type: 'page',
       path: ['albumGallery', album.directory],