AndrewUsher / AndrewUsher/andrewusher.dev

Add support for blog series and learning paths

Aperta
#330 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
1
Fork
0
Merge medio
2g 5h
PR unite (30g)
59

Descrizione

I've got a few posts that build on each other (Cookie Store, Durable Streams, Speech Synthesis) but there's no way to read them as a sequence.

Plan:
- add optional `series: string` and `seriesOrder: number` to src/content.config.js for blogPosts
- create src/pages/blog/series/[series].astro listing posts in order with progress (e.g. 2 of 4)
- show a small banner on the post page when a post is part of a series: prev/next links + progress bar
- update SimilarPosts.astro to prioritize same-series posts first, then tag overlap fallback
- add a SeriesBadge component similar to TagBadge.astro

No need for complex drag-and-drop ordering. Just a string field and a number. Should be easy to query with getCollection.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.