Unable to map channel to template


I am attempting to make a content hub following the instructions here:

Everything is working except for mapping the channel to a template.

I created a folder in my template called properties and I put in a properties.hbs file into that folder. I edited my routes.yaml file as shown below. but it is the post template that loads.

    controller: channel
    filter: tag:properties
    template: properties

    permalink: /{slug}/
    filter: tag:-properties
      - index
    permalink: /properties/{slug}/
    filter: tag:properties
    template: properties/property
  tag: /tag/{slug}/
  author: /author/{slug}/


After much fiddling, I figured out that I was not understanding the concept clearly. The template attribute in the routes.yaml file refers to the “properties” (in my case) landing page - a tag page. I was thinking it linked to a post template. I am figuring it out.

closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.