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]
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
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
/events pages I’d like the following:
/weddings/testimonialsdisplays the contents of
/events/testimonialsdisplays the contents of
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!