aboutsummaryrefslogtreecommitdiff
path: root/src/pages/blog
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-14 14:01:42 +0300
committerValentin Popov <valentin@popov.link>2025-06-14 14:01:42 +0300
commit9777d996d172755472dd8127ff9b7a3c579cf454 (patch)
treef8f2cae618f6508750b79973e9e911a582166953 /src/pages/blog
parent1c15151ef59d3a0e7f4bb03a65bcd1970f3e1c07 (diff)
downloadpopov.link-9777d996d172755472dd8127ff9b7a3c579cf454.tar.xz
popov.link-9777d996d172755472dd8127ff9b7a3c579cf454.zip
refactor: enhance PostElement structure and update blog schema
- Wrapped the post link in an <article> 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.
Diffstat (limited to 'src/pages/blog')
-rw-r--r--src/pages/blog/index.astro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro
index 611d0fc..fd8b376 100644
--- a/src/pages/blog/index.astro
+++ b/src/pages/blog/index.astro
@@ -30,6 +30,7 @@ const lang = "en";
const schema = blogSchema({
siteUrl: new URL("/", Astro.site).toString(),
title,
+ posts,
});
---