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.
routes:
/properties/:
controller: channel
filter: tag:properties
template: properties
collections:
/:
permalink: /{slug}/
filter: tag:-properties
template:
- index
/properties/:
permalink: /properties/{slug}/
filter: tag:properties
template: properties/property
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/