If blog has tag


Hi All,

I'm trying to do something along the lines of:

if blog.tags contains 'example-tag' {
print 'test'

in hubl but I can't seem to spot the relevant variables in:

Would it be in one of the variable arrays? That's the only thing I can think of.



Hi @rst88,

it sounds like you want to use {{ content.topic_list }}:

The list of topic objects associated with the blog post. The following properties can be accessed from each topic object: name and slug.