mixtape/templates/macros.html

6 lines
144 B
HTML
Raw Normal View History

2024-02-06 19:49:24 +01:00
{% macro primary_category(song) %}
{%- if song.taxonomies["category"] -%}
{{ song.taxonomies["category"][0] }}
{%- endif -%}
{% endmacro %}