Hello,
I am simply trying to separate blog posts on my site into collections but having issues that I just don’t seem to be able to solve.
This is my current routes file:
routes:
/:
data: page.home
template: home
collections:
/wedding-blog/:
permalink: /wedding-blog/{slug}/
template: tag
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
Based on what I have read, it should look more like this?:
routes:
/:
data: page.home
template: home
collections:
/wedding-blog/:
permalink: /wedding-blog/{slug}/
template: tag
filter: 'tag:-Wedding Venues'
/wedding-venues/:
permalink: /wedding-venues/{slug}/
template: tag
filter: 'tag:Wedding Venues'
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
But, this routes file won’t upload?
Template is based on the tag page as I just like the themes design. Have tried it with ‘index’ but same issue, won’t upload.
My aim is to have all posts displayed at /wedding-blog/, except any posts tagged ‘wedding-venues’, which I would like to live at /wedding-venues/.
Could you please help? My website is imagyarweddings.com in case someone kind enough tried to debug.
Many thanks,
Istvan