From a65e9c845543abcda641f51f4dd8cd77ab50b60d Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 14 Jun 2025 11:47:17 +0000 Subject: feat: enhance blog post and page schema with new properties - Added optional `basedOn` field to blog post schema for better content attribution. - Updated blog post markdown to include `basedOn` reference for improved context. - Refactored page schema to replace deprecated website schema, enhancing structured data representation. - Adjusted 404 and index pages to utilize the new page schema for consistency and SEO improvements. --- src/content/blog/create-lib-file-from-dll.md | 3 ++- src/content/config.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/content') diff --git a/src/content/blog/create-lib-file-from-dll.md b/src/content/blog/create-lib-file-from-dll.md index 472ae23..306c9b7 100644 --- a/src/content/blog/create-lib-file-from-dll.md +++ b/src/content/blog/create-lib-file-from-dll.md @@ -1,9 +1,10 @@ --- +basedOn: "https://adrianhenke.wordpress.com/2008/12/05/create-lib-file-from-dll/" title: 'Create ".lib" file from ".dll" (archive)' description: "Learn how to generate a *.lib file from a *.dll with this comprehensive guide. Using the Visual Studio Command Prompt and Microsoft's recommended tools, this article walks you through the steps for a seamless process. Perfect for developers working with 3rd party win dll's." datePublished: "2023-05-04" dateModified: "2023-05-04" -author: "Adrian Henke" +author: "Valentin Popov" lang: "en" --- diff --git a/src/content/config.ts b/src/content/config.ts index d7f5f86..916e412 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -4,6 +4,7 @@ const blog = defineCollection({ type: "content", schema: z.object({ author: z.string(), + basedOn: z.optional(z.string()), dateModified: z.coerce.date(), datePublished: z.coerce.date(), description: z.string(), -- cgit v1.2.3