I am creating a custom SPA frontend to my ghost site using Quasar and the Ghost Content API, but I can’t find anything in the API that can get me the previous and next posts given the post that I am currently on. Is there any way to do this?
You need to filter & limit the request to your Content API v2 using the Ghost-SDK.
You could take a look at the existing prev/next helper implementation in Ghost.
Perfect! Thank you, that’s exactly what I needed. I was going to need that read time helper too!
This link has a
. at the end that breaks it and causes a 404, could you fix that for anybody else who finds this?