This commit is contained in:
Travis Fischer
2022-04-08 10:46:20 -04:00
parent 3c1fad5f87
commit 4b49fd3061

View File

@@ -34,6 +34,8 @@ export async function getAllPagesImpl(
})
if (map[canonicalPageId]) {
// you can have multiple pages in different collections that have the same id
// TODO: we may want to error if neither entry is a collection page
console.warn('error duplicate canonical page id', {
canonicalPageId,
pageId,