aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-14 15:08:48 +0300
committerValentin Popov <valentin@popov.link>2025-06-14 15:08:48 +0300
commit0473060773a7acb10a6f11e5e22ec13ddf5650ba (patch)
treeac5f6e309fd5d1562b91c35d8e511df1ac6fd89d /src/pages
parenta65e9c845543abcda641f51f4dd8cd77ab50b60d (diff)
downloadpopov.link-0473060773a7acb10a6f11e5e22ec13ddf5650ba.tar.xz
popov.link-0473060773a7acb10a6f11e5e22ec13ddf5650ba.zip
feat: add configuration and default image for blog posts
- Introduced a new configuration file to centralize author information and default image settings for blog posts. - Added a default image path in the blog post configuration for improved content presentation. - Updated blog post schema to utilize the new configuration for author details, enhancing structured data representation.
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/blog/[...slug].astro2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro
index 39207dd..e347eda 100644
--- a/src/pages/blog/[...slug].astro
+++ b/src/pages/blog/[...slug].astro
@@ -22,7 +22,6 @@ const post = Astro.props;
const { Content, remarkPluginFrontmatter } = await post.render();
-const author = post.data.author;
const description = post.data.description;
const isBasedOn = post.data.basedOn;
const lang = post.data.lang;
@@ -40,7 +39,6 @@ const schema = blogPostSchema({
slug,
datePublished,
dateModified,
- author,
lang,
isBasedOn,
});