{% if post.category %} {% for categoryMeta in site.data.badge.category %} {% if post.category == categoryMeta.name %}