{% macro primary_category(song) %} {%- if song.taxonomies["category"] -%} {{ song.taxonomies["category"][0] }} {%- endif -%} {% endmacro %}