« get me outta code hell

content: generateAlbumCommentaryPage: stub commentary pages - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page/album.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-12-19 12:49:08 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-12-19 13:25:17 -0400
commitd4318084d64209c26bda6464b25dcd53f7479086 (patch)
tree45775979a56cd9d2558d456a80646cfb9586ad98 /src/page/album.js
parentbedb26b8b1054a98a820de412daf3d8b5b0dc0d6 (diff)
content: generateAlbumCommentaryPage: stub commentary pages
Diffstat (limited to 'src/page/album.js')
-rw-r--r--src/page/album.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/page/album.js b/src/page/album.js
index be551ca7..46b1446b 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -7,8 +7,6 @@ export function targets({wikiData}) {
 }
 
 export function pathsForTarget(album) {
-  const hasCommentaryPage = !!album.commentary || album.tracks.some(t => t.commentary);
-
   return [
     {
       type: 'page',
@@ -30,7 +28,7 @@ export function pathsForTarget(album) {
       },
     },
 
-    hasCommentaryPage && {
+    {
       type: 'page',
       path: ['albumCommentary', album.directory],