mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🛠️ Return `rawUrl & documentUrl` properties in content-collections config
This commit is contained in:
@@ -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}`,
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user