🛠️ Return `rawUrl & documentUrl` properties in content-collections config

This commit is contained in:
pheralb
2025-09-18 12:04:16 +01:00
parent 894aca0d14
commit 452d121ac4
+2
View File
@@ -48,6 +48,8 @@ const docs = defineCollection({
createdAt: new Date(birthtimeMs),
updatedAt: new Date(mtimeMs),
tableOfContents,
rawUrl: `https://svgl.app/api/docs/${document._meta.path}`,
documentUrl: `https://svgl.app/docs/${document._meta.path}`,
};
},
});