Group blog posts into a series

I will be writing many posts that serve as a series and it would be nice to be able to group them together and it could create a table of contents with next and previous links to make it easier for the reader to follow.

Hey there @MichaelBrooks. This is totally possible with the use of tags and theme helpers :fire:. By adding tags you can group posts together and then use the #get helper to list out posts based on the primary tag, check out this section of our documentation: https://ghost.org/docs/api/v3/handlebars-themes/helpers/get/#filtering-by-primary-tag

Once more you can add filtering to the next and previous helpers to scope them to their primary tag. Check out the code example at the bottom of this page:

Let us know if you need help with using these. With a little modification to your theme these helpers should provide you with exactly what you’re looking for :smile:

1 Like

I will give this a shot and let you know how it goes. Thank you so much.

1 Like