Fix macros

This commit is contained in:
Filip Rojek 2025-02-25 01:37:08 +01:00
parent dee4ce31dc
commit 89924f848f

View File

@ -1,5 +1,5 @@
{% macro primary_category(song) %} {% macro primary_category(song) %}
{%- if song.taxonomies["album"] -%} {%- if song.taxonomies["category"] -%}
{{ song.taxonomies["album"][0] }} {{ song.taxonomies["category"][0] }}
{%- endif -%} {%- endif -%}
{% endmacro %} {% endmacro %}