I’ve been at it for a few days, I can’t seem to figure it out. Here is what I’m trying to do. I want to create a channel/collection for blog and gaming but everything else stays within the root page.
Basically, I can’t figure out the filtering and the tag/slug to save my life. I’ve googled and searched the forms. I’m wondering if it’s with my theme that I’m using that is preventing it but I can’t figure it out. I’m using a modified ease theme.
I’ve referenced that page and still wasn’t able to get channels or collections to work appropriately.
I would like the main landing page to have all tags/slugs that are not gaming, blog, or news.
I would like content that is gaming to fall under the gaming collection, and blog or news to fall under the blog collection. If that makes more sense. I’ve tried the other methods from within the forum and other sites but unsure if its just the ease theme that is preventing this or I’m typing something wrong. I’m self-hosted and on version 5.69.0 if that helps.
This will put all gaming posts on the gaming path, all blog or news posts on the blog path, and everything else on your default, root path. (Filter has a typo, too, in your original post, which might have contributed to your difficulty.)
I will give it a shot… and OMG spellcheck would have been nice in VSCode or at least letting me know common engrish was wrong. Thanks. Report back shortly.
Oh, right. I should’ve looked more closely at the index file. So, the routing should be right, but your theme doesn’t use routing to display posts on the homepage, which is why you’re having trouble.
The theme displays content based on your tags. You’ll need to rewrite your index.hbs file or try a different theme. You can switch to Casper, for example, to see if the routing is working as intended.
Figured as much, I’ll give that a shot with some tag and post filtering. Is there a guide/tutorial using route based themes that you can ref? I’ll look around myself as well.
I kept trying to use the tag in the filter but found it easier to use slug. Here is what I used:
{{#get “tags” filter=‘slug:-[gaming, blog, news]’ limit=“all”}}