diff options
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 |
commit | d4318084d64209c26bda6464b25dcd53f7479086 (patch) | |
tree | 45775979a56cd9d2558d456a80646cfb9586ad98 /src/page/album.js | |
parent | bedb26b8b1054a98a820de412daf3d8b5b0dc0d6 (diff) |
content: generateAlbumCommentaryPage: stub commentary pages
Diffstat (limited to 'src/page/album.js')
-rw-r--r-- | src/page/album.js | 4 |
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], |