Table of contents in Taste theme

I am a complete beginner at using Ghost. I have Ghost Pro and I’ve been trying out a bunch of different tutorials to try to add a table of contents on the home page with all of my posts on it, because the Taste theme I am using only shows like the top five newest posts. So far nothing has worked. A lot of the tutorials say that I have to modify the code they provide myself to match the Taste theme, but I have no idea how to do that. Is there an easy way to do it using my current tier?

Hey @Li_Conde, welcome to Ghost!

I think most of the table of contents tutorials out there are about putting a table of contents on an individual post, showing the headers in that post.

It sounds like you’re wanting to change the home page so that you can see more posts. Let me take a quick peek at Taste and see how it pulls those posts, so that I can give you a better answer.

FYI, this is a community forum, so no one here (except a few staff members) knows what your current Ghost Pro tier is. If you have the starter plan, you’re pretty limited and cannot edit the theme, but do have access to code injection and changing the routing, which /might/ fix the problem. If you have the creator plan, then you can upload an edited version of the theme, or a non-official theme.

(Update) So it’s a one-line edit to Taste. You’d change line 13 of index.hbs to say count=“all”. But if you’re on the starter plan, that’s not something you can do.

Another option that would work on the starter plan is to take advantage of the fact that Taste shows groups of tagged posts below that top section. So you could get more posts on the front page by including one or more tag sections (image below).


(You get to that screen by going to /ghost, then clicking the gear icon, then design & branding > edit, and make sure to open the homepage tab (top right).

There are other themes that DO have a view all. Check out Casper (nice infinite scroll for all posts), or Solo, if you want a big header section.

Hi Cathy!

Yeah, that’s what I was trying to do. I am using the starter tier. I figured out just now that all I had to do was change the theme entirely, to one that had a built-in “view all” button. So no more taste, no more problem. Not sure why that theme doesn’t have a “view all posts” function, but ah well!

1 Like