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:
@ -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,
|
||||
});
|
||||
|
Reference in New Issue
Block a user