Blog listing template allowing 0, -1, -2 page results
I entered this code in place of what I provided above but it completely breaks the pagination styles. Di dyou intend for me to enter that code somewhere in the middle of what I entered?
Also, your working example still allows for a URL to be forced to page 0 then the arrows in the pagination will take you to -1 and a 404.
This was just an example of a solution. You could take parts of it to modify your own code.
Could you explain how the URL could be forced to page 0? The 'previous' arrow is not available at the first page of the listing. Please check the example I linked.
Learn more about HubSpot by following me on LinkedIn or YouTube
✅ Did my answer solve your issue? Help the community by marking it as the solution.