aboutsummaryrefslogtreecommitdiff
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* feat: implement Open Graph image generation and enhance configurationValentin Popov2 days3-2/+70
| | | | | | | | - Added ogImages integration to generate Open Graph images for blog posts. - Updated configuration to include Open Graph settings and default preview image. - Refactored Head component to utilize new preview property for Open Graph meta tags. - Enhanced blog post schema to include preview image for structured data representation. - Introduced utility functions for creating Open Graph images with dynamic content.
* refactor: remove preview property from blog post schema and configurationValentin Popov3 days1-3/+2
| | | | | - Eliminated the optional `preview` field from the blog post schema and configuration to streamline data handling. - Updated the blog post schema to utilize the default image directly from configuration, enhancing consistency in image representation.
* feat: add configuration and default image for blog postsValentin Popov3 days1-3/+7
| | | | | | - 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.
* feat: enhance blog post and page schema with new propertiesValentin Popov3 days4-16/+28
| | | | | | | - Added optional `basedOn` field to blog post schema for better content attribution. - Updated blog post markdown to include `basedOn` reference for improved context. - Refactored page schema to replace deprecated website schema, enhancing structured data representation. - Adjusted 404 and index pages to utilize the new page schema for consistency and SEO improvements.
* refactor: update blog post date handling and schemaValentin Popov3 days3-9/+12
| | | | | | | - Replaced `pubDate` with `datePublished` in blog post components for consistency. - Updated sorting logic in blog sections to use `datePublished`. - Enhanced blog post schema to include `dateModified` for better structured data representation. - Adjusted various blog markdown files to reflect the new date fields.
* feat: enhance blog post schema and structureValentin Popov3 days1-1/+10
| | | | | - Added description and lang parameters to the blogPostSchema for improved structured data. - Updated the blog post layout to include a header section for better semantic structure and accessibility.
* refactor: enhance PostElement structure and update blog schemaValentin Popov3 days1-3/+14
| | | | | | - 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.
* feat: integrate schema.org support and enhance component structureValentin Popov5 days3-0/+47
- Added schema.org support by introducing `schema-dts` for structured data in components. - Updated `Head`, `BaseLayout`, and various page components to accept and utilize schema props for better SEO. - Created new utility schemas for blog posts and website to standardize structured data implementation. - Enhanced the `SocialLinks` section by utilizing dedicated icon components for improved maintainability. - Refactored the `Header` component to improve accessibility and structure. - Introduced new icons for social links and integrated them into the layout.