Limit RSS feed post word count - what to do with routes.yaml

I don’t want publications to use my full content, but only excerpts.

I am going to set up my routes.yaml, but am confused as to what I should do. :worried:

  • I want my RSS to appear on mywebsite.com/rss.

  • It should show excerpts instead of the full content.

So my question is, how should I set up routes.yaml?

Can anyone modify this default routes.yaml as per my requirement?

routes:

collections:
  /:
permalink: /{slug}/
template: index

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

Note: I have no confusion with creating a new .hbs template for custom rss, just I am confused with routes.yaml.

I will be very grateful to you guys.