Show all posts?

I am on source v1.1.2

I want to make a page that shows all my posts — either with infinite scroll or with pagination.

In the absence of other routing, doesn’t Source already do that?

Well I thought this would be the case.
Here is my page: skillspeed.io

I thought the landing page (home) would show all my posts

That’s very odd. I can see them on the site map but not on the front page. I also tried /page/2/, but no.

Where are you hosted?

Any edits to your theme?

Can you post your routes.yaml file? It’s available to download in /ghost > settings (gear icon) labs.

Any errors in the browser console? Press f12 then the console tab to access. I’m looking for a red error, not yellow warning.

If you are self hosting, any errors in the ghost logs on the server?

I am not self-hosting. I should be hosted by ghost.
I don’t think I made any major edits to the theme.

my routes.yaml file

routes:

collections:
  /:
    permalink: /{slug}/
    template: index

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/

I get this error message when I access the home page skillspeed.io/:1 Unchecked runtime.lastError: The message port closed before a response was received. :

So this is a problem with the way this theme is constructed, it looks like. It’s making a {{#get}} request for posts, instead of using the posts on the route, and so it doesn’t paginate.

It’s not something you’re doing wrong, it’s just a problem with the theme.

I had this problem with source theme too, it seems there is a pagination threshold defined in the json file which is 16. Everything between 12 and 16 is in limbo on the startpage. Ghost support told me they’ll fix it.

Fascinating. So a good response is to make more posts? ;)

1 Like

That’s always a good response! When in doubt, make more content! :) laughing