From 9777d996d172755472dd8127ff9b7a3c579cf454 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 14 Jun 2025 11:01:42 +0000 Subject: refactor: enhance PostElement structure and update blog schema - Wrapped the post link in an
tag for improved semantic structure. - Updated blogSchema to include posts for better structured data representation. - Adjusted the blog index to utilize the new posts parameter for enhanced SEO. --- src/components/PostElement.astro | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/components/PostElement.astro') diff --git a/src/components/PostElement.astro b/src/components/PostElement.astro index 2263e92..85320ee 100644 --- a/src/components/PostElement.astro +++ b/src/components/PostElement.astro @@ -25,12 +25,14 @@ const formattedDate = dayjs(post.data.pubDate.toString()).format("MMMM DD, YYYY"
  • - {post.data.title} -
    - - - - {remarkPluginFrontmatter.minutesRead} - -
    +
    + {post.data.title} +
    + + + + {remarkPluginFrontmatter.minutesRead} + +
    +
  • -- cgit v1.2.3