I’ve been trying to create custom url structures for some time now and i’ve been following along this tutorial which i think is great, however im not sure if im going about this the wrong way or this indeed works as intended to.
I basically need to create a page with a list of tagged articles with links to the article. Simple enough.
So let’s say i have mysite.com/engineering as the page with a list
and the article would link to something like mysite.com/engineering/node-js
If i navigate to mysite.com/engineering/node-js it redirects to mysite.com/node-js
How can i get the url to display properly? Is that how content collections work?
my routes.yaml file
routes:
collections:
/:
permalink: /{slug}/
template:
- index
/engineering/:
permalink: /engineering/{slug}/
filter: engineering+tag
template:
- engineering
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/