Test for slug in array of slugs

In the tag template, I am trying to test for the current tag slug to be one of several in a list of slugs. Similar to using the #has helper with tags.

For testing for tags (in a post):
{{#has tag=“photo, video, audio”}}
… do something …
{{/has}}

I don’t seem to be able to do the same thing for slug (in tags archive template), ie
{{#has slug=“slug1, slug2, slug3”}}
… do something …
{{/has}}

Is this test possible (with the correct syntax) or do I have to test for each slug individually?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.