{% assign tags = include.tags %} {% assign post_cat = include.post_cat | downcase %} {% unless post_cat contains "news" %} {% if tags != "" %}