Tag filtering doesn't work with Episode theme?

I’ve been tearing my hair out for days trying to create a custom routes.yaml file for the official Ghost Episode theme that will allow me to have posts tagged “podcast” appear on the main page and posts tag “blog” appear at /blog.

The following code works with EVERY other free ghost theme I’ve tested, but not Episode. Episode always displays all posts on every page, regardless of how they’re tagged.


    permalink: /{slug}/
    template: index
    filter: tag:-blog
    permalink: /blog/{slug}/
    template: blog
    filter: tag:blog
    data: tag.blog

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

This possibly seems to be happening because Episode doesn’t seem to even use standard handlebars elements like “getposts” but I’m not entirely sure.

What I’m trying to do is use Episode as-is, except to have the main page display only posts without the tag “blog”, and then to have a separate blog page that displays only posts tagged blog.

Can anyone help?

It seems that the Episode theme fetches posts using the {{get}} helper instead of using the main collection, on the homepage. Interestingly, it seems like the paginated content uses the default collection, can you try /page/2 if you have enough content?

This is the relevant part that renders the posts:

That means you would have to edit files, to achieve what you want.