From f65bbab508cebdbaffd188366e983945d73abd4a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 8 Aug 2023 11:44:41 -0300 Subject: content: dedicated arbitrary page URL key This fixes getPageSubdirectoryPrefix thinking we're deeper than we really are. --- src/page/album.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/page/album.js') diff --git a/src/page/album.js b/src/page/album.js index edde73a..4ed5bcb 100644 --- a/src/page/album.js +++ b/src/page/album.js @@ -66,7 +66,7 @@ export function pathsTargetless({wikiData: {wikiInfo}}) { wikiInfo.canonicalBase === 'https://hsmusic.wiki/' && { type: 'redirect', - fromPath: ['path', 'list/all-commentary/'], + fromPath: ['page', 'list/all-commentary'], toPath: ['commentaryIndex'], }, ]; -- cgit 1.3.0-6-gf8a5