As I started yet another topic series in my last post about Raycast, I realized there was not a good way on this site to see topically related posts. I decided to remedy this by creating a Series view.
Now there’s a Series menu item that links to a list of Series available on the site. Each of those series names in turn links to an individual series page which is identical to the list except it only shows the one selected series instead of all of them.
Both the Series index page and the Series dynamic route page (to create all the individual series pages) rely on a component called SeriesList.astro to show each series and its associated posts.
On the Series index page, it repeats the component view for each existing series:
On the individual series page, it just calls the component once because it’s only showing the one series:
Besides the update to the menu, which is located in
layouts/Base.astro, there are 3 new files that make Series happen:
Here are what the Series
SeriesList.astro files look like.