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/group.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/page/group.js') diff --git a/src/page/group.js b/src/page/group.js index 8795e15..e1ed418 100644 --- a/src/page/group.js +++ b/src/page/group.js @@ -46,14 +46,14 @@ export function pathsTargetless({wikiData: {wikiInfo}}) { wikiInfo.canonicalBase === 'https://hsmusic.wiki/' && { type: 'redirect', - fromPath: ['path', 'albums/fandom/'], + fromPath: ['page', 'albums/fandom'], toPath: ['groupGallery', 'fandom'], }, wikiInfo.canonicalBase === 'https://hsmusic.wiki/' && { type: 'redirect', - fromPath: ['path', 'albums/official/'], + fromPath: ['page', 'albums/official'], toPath: ['groupGallery', 'official'], }, ]; -- cgit 1.3.0-6-gf8a5