feat(blog): recreate article footer navigation and related posts

- add reusable live-site-faithful blog footer component
- extract previous, next, and related post data from article content
- remove duplicated footer fragments from multilingual articles
- document the repeatable footer extraction workflow
This commit is contained in:
2026-06-08 20:08:21 -07:00
parent e51f2133ef
commit 0b276e7b32
71 changed files with 2181 additions and 1402 deletions
+2
View File
@@ -1,5 +1,6 @@
---
import BaseLayout from './BaseLayout.astro';
import BlogPostFooter from '../components/BlogPostFooter.astro';
import LikeViewCounter from '../components/LikeViewCounter.astro';
const { entry } = Astro.props;
---
@@ -16,4 +17,5 @@ const { entry } = Astro.props;
<div class="prose blog-post-body container"><slot /></div>
<div class="container"><LikeViewCounter slug={entry.data.slug} /></div>
</article>
<BlogPostFooter entryId={entry.id} />
</BaseLayout>