Receive error uploading the routes.yaml file

I am trying to add another collection to my blog. I have updated the routes.yaml file and am attempting to upload. Every time I try it provides me the following error.

Below is the recipe collection I have added to the file. Filtered via the “recipe” tag.

routes:

collections:
  /recipes/:
    permalink: /recipes/{slug}/
    template: index
    filter: tag: recipe
  /:
    permalink: /{slug}/
    template: index

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

If you’d like help, you’ll need to post the file that’s giving the error. Be sure to use the code block so it won’t get mangled.

1 Like

I have edited the post. I am basically trying to add a recipe collection to the blog.

You have an extra space after tag:

That did work, thank you!

1 Like