refactor: update blog post date handling and schema
- Replaced `pubDate` with `datePublished` in blog post components for consistency. - Updated sorting logic in blog sections to use `datePublished`. - Enhanced blog post schema to include `dateModified` for better structured data representation. - Adjusted various blog markdown files to reflect the new date fields.
This commit is contained in:
@@ -12,6 +12,7 @@ const lang = "en";
|
||||
const schema = websiteSchema({
|
||||
siteUrl: new URL("/", Astro.site).toString(),
|
||||
title,
|
||||
description,
|
||||
});
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user