Help to configure routes.yaml for home+blog

I’m trying to have a static page as the home page, and apart the “posts” page.
Everything is working except that when I enter the “posts” page, it redirects me to the home.
Is anything wrong in my routes.yaml? Thanks!

    data: page.home
    template: home

    permalink: /post/{slug}/
    template: posts

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

I think the template for the post collection should be index. Just in case you haven’t seen, we have a full tutorial for what you’d like to achieve :slight_smile:

1 Like

Thanks for the answer Aileen. In any case, I finally solved it changing /posts/ and /post/ for /list/ and /item/, in that order. It seems that /posts/ is like a reserved variable o something like that.