How do I create a custom template for all tagged articles in blogs?

redshot
Tourist
12 2 2

Hi,

We have articles type of blog in our Shopify website. We were able to create a custom template for the articles blog by creating a file called blog.articles.liquid in templates folder. Also, we created a custom template for each specific article by creating a file called article.article.liquid in templates folder.

Furthermore, our articles are tagged with something like promos, treatments in the backend. Each article will only have 1 tag. So our articles will have a url with something like this https://our-shopify-store.shopifypreview.com/blogs/articles/tagged/promos

My problem: How do I create a custom template for each tagged(promos, treatments) article? I tried creating a file called article.article.tags.liquid in templates folder but it doesn't seem to work.

 

Any help is greatly appreciated. Thanks.

0 Likes