diff options
| author | Valentin Popov <valentin@popov.link> | 2026-04-22 20:53:21 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-04-22 20:53:21 +0300 |
| commit | 933d6874b1fe1dbb113e9de39425f2d713a72408 (patch) | |
| tree | 44278a4088a2144ac08fb72fd4abe86ab60a55e8 /src/components/Sections/LatestPosts.astro | |
| parent | 5e818d804d5d38beff0f3754a006333752fd5082 (diff) | |
| download | popov.link-933d6874b1fe1dbb113e9de39425f2d713a72408.tar.xz popov.link-933d6874b1fe1dbb113e9de39425f2d713a72408.zip | |
feat: enhance blog and SEO features with new plugins and metadata
- Introduced rehypeLazyImages plugin for lazy loading images in blog posts.
- Updated sitemap integration to include last modified dates for blog posts.
- Enhanced Head and BaseLayout components to support additional Open Graph metadata.
- Improved RSS feed generation with sanitized content and author information.
- Updated manifest.json for a darker theme and standalone display mode.
- Added support for language-specific attributes in various components.
- Refactored blog post handling to include modified and published timestamps.
Diffstat (limited to 'src/components/Sections/LatestPosts.astro')
| -rw-r--r-- | src/components/Sections/LatestPosts.astro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Sections/LatestPosts.astro b/src/components/Sections/LatestPosts.astro index 5c6afd9..daba4c8 100644 --- a/src/components/Sections/LatestPosts.astro +++ b/src/components/Sections/LatestPosts.astro @@ -32,7 +32,7 @@ const latestPosts = posts.slice(0, 5); </a> <small> - <time datetime={post.data.datePublished.toISOString()} lang="en"> + <time datetime={post.data.datePublished.toISOString()} lang={post.data.lang}> {dayjs(post.data.datePublished.toString()).format("MMMM DD, YYYY")} </time> </small> |
