I want to display a video icon next to article links for articles that contain embedded videos. So, for each article that has an embedded video, I created a label "video".
Is there a way to have an if/else query for labels in the Category/Section pages that display article links? For example:
<a href="{{url}}" class="section-base__link">{{title}}</a> <IF LABEL ="video" THEN><img src="{{asset 'video32x32.png'}}" width="16" height="16"> <ELSE NOTHING>
I obviously don't know how to write If/Else queries, but I hope my explanation is clear. Any help would be appreciated.