Making a blog site with nuxt and datocms. I want articles to have tags and want the ability to get all articles with a specific tag.
I set my schema so that tags are a separate model. Doing this because I have a second query to get all the tags so I can build a links to pages of articles with those tags.
Here is my setup
Tags
Articles
Articles have a Multiple Links field linked to the tags.
This allows me to have a nice interface to add tags to articles in the content editor.
Now, what Iβm trying to do is have a query that only returns articles with a specific tag. Based on this post I was hoping to do that with a pattern. But I get this error:
I can get it to work with a tag id with the below query, but would really like to use the tag name instead. I donβt really want to see the tag id in the url.
Is there a different/better approach that Iβm missing?