From 5acb247fb0a64216461bfe17fdf3df29c40b88a1 Mon Sep 17 00:00:00 2001 From: neri Date: Fri, 23 Sep 2022 13:34:53 +0200 Subject: [PATCH] make page paths absolute --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e83b99b..ed310e1 100644 --- a/index.js +++ b/index.js @@ -100,7 +100,7 @@ async function updatePagelist(pagelistConfig, contentLines) { ).data.pages.list .filter((page) => !page.path.includes('/_')) .filter((page) => !page.tags.includes('metapage')) - .map((page) => `- [${page.title}](${page.path})`); + .map((page) => `- [${page.title}](/${page.path})`); console.log({ pagelistConfig, query, result });