0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 00:20:26 +03:00

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.
This commit is contained in:
2025-06-14 12:08:48 +00:00
parent a65e9c8455
commit 0473060773
11 changed files with 18 additions and 12 deletions

View File

@ -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,
});