Routing to a page which filters by tag

Sorry if this is vague, I’m struggling to describe it clearly.

I have a page /testimonials in the root of my site, which is based on the Skeleton Blog template. The structure looks something like this:

└── testimonials
    ├── wedding-1
    │   └── testimonial.md
    ├── wedding-2
    │   └── testimonial.md
    ├── event-1
    │   └── testimonial.md
    └── testimonials.md

In the frontmatter of each of the testimonial.md files is this:

taxonomy:
  tag: [wedding]

or this:

taxonomy:
  tag: [event]

If I visit the URL example.com/testimonials I see the full list of testimonials, as expected.

I can also filter the list of testimonials by visiting /testimonials/tag:wedding or /testimonials/tag:event.

What I’d like to be able to do is show the filtered list of testimonials on the relevant page elsewhere on the site. So in my modular /weddings and /events pages I’d like the following:

  • /weddings/testimonials displays the contents of /testimonials/tag:wedding
  • /events/testimonials displays the contents of /testimonials/tag:event

I tried adding the following in site.yaml but I just get a 404 when I visit the desired URL:

routes:
  ^/weddings/testimonials: '/testimonials/tag:wedding'
  ^/events/testimonials: '/testimonials/tag:event'

Is what I’m trying to achieve possible?

Thanks for your time!

Chris