From 17f9a467d7c0f427ae9d1cd579988a26615311c7 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 14 Jun 2025 11:25:17 +0000 Subject: 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. --- src/content/blog/example-content.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/content/blog/example-content.md') diff --git a/src/content/blog/example-content.md b/src/content/blog/example-content.md index 1d54603..f6d61b0 100644 --- a/src/content/blog/example-content.md +++ b/src/content/blog/example-content.md @@ -1,8 +1,9 @@ --- title: "Example Content" -author: "Example User" -pubDate: "2018-01-01" description: "Howdy! This is an example blog post that shows several types of HTML content supported in this theme." +datePublished: "2018-01-01" +dateModified: "2018-01-01" +author: "Example User" lang: "en" draft: true --- -- cgit v1.2.3