make page paths absolute
This commit is contained in:
parent
57d896eac7
commit
5acb247fb0
2
index.js
2
index.js
|
@ -100,7 +100,7 @@ async function updatePagelist(pagelistConfig, contentLines) {
|
||||||
).data.pages.list
|
).data.pages.list
|
||||||
.filter((page) => !page.path.includes('/_'))
|
.filter((page) => !page.path.includes('/_'))
|
||||||
.filter((page) => !page.tags.includes('metapage'))
|
.filter((page) => !page.tags.includes('metapage'))
|
||||||
.map((page) => `- [${page.title}](${page.path})`);
|
.map((page) => `- [${page.title}](/${page.path})`);
|
||||||
|
|
||||||
console.log({ pagelistConfig, query, result });
|
console.log({ pagelistConfig, query, result });
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue