From 4236b4f348e14be2b78496c8d1c1c60942aa3515 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 8 Aug 2023 11:21:46 -0300 Subject: content: generateCommentaryIndexPage --- src/page/album.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/page') diff --git a/src/page/album.js b/src/page/album.js index 1d5c7c0..edde73a 100644 --- a/src/page/album.js +++ b/src/page/album.js @@ -57,6 +57,12 @@ export function pathsForTarget(album) { export function pathsTargetless({wikiData: {wikiInfo}}) { return [ + { + type: 'page', + path: ['commentaryIndex'], + contentFunction: {name: 'generateCommentaryIndexPage'}, + }, + wikiInfo.canonicalBase === 'https://hsmusic.wiki/' && { type: 'redirect', -- cgit 1.3.0-6-gf8a5