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:
@@ -328,6 +328,7 @@ npm run extract:full
|
||||
After extraction:
|
||||
|
||||
```sh
|
||||
npm run extract:blog-footers
|
||||
npm run generate:sitemap
|
||||
npm run generate:redirects
|
||||
npm run build
|
||||
@@ -342,6 +343,10 @@ posts and CTA-bearing pages as Markdown; restore their `FAQAccordion` and
|
||||
`Button` MDX blocks before accepting the result. `npm run audit:blog` reports
|
||||
plain Markdown FAQ sections.
|
||||
|
||||
`npm run extract:blog-footers` preserves the extracted previous/next and
|
||||
similar-post relationships in `src/data/blog-footers.json`, then removes those
|
||||
footer fragments from article prose so `BlogPostFooter.astro` can render them.
|
||||
|
||||
## Reports And Utilities
|
||||
|
||||
Migration reports are stored in `reports/`.
|
||||
|
||||
Reference in New Issue
Block a user