aboutsummaryrefslogtreecommitdiff
path: root/src/content
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-14 14:47:17 +0300
committerValentin Popov <valentin@popov.link>2025-06-14 14:47:17 +0300
commita65e9c845543abcda641f51f4dd8cd77ab50b60d (patch)
tree44b3abbcd198aade2dccfeefde650118de3d8b4c /src/content
parent17f9a467d7c0f427ae9d1cd579988a26615311c7 (diff)
downloadpopov.link-a65e9c845543abcda641f51f4dd8cd77ab50b60d.tar.xz
popov.link-a65e9c845543abcda641f51f4dd8cd77ab50b60d.zip
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.
Diffstat (limited to 'src/content')
-rw-r--r--src/content/blog/create-lib-file-from-dll.md3
-rw-r--r--src/content/config.ts1
2 files changed, 3 insertions, 1 deletions
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(),