diff options
Diffstat (limited to 'src/page')
-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], |