From 89924f848f190c8a01106342cbe96abe0f884ea5 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Tue, 25 Feb 2025 01:37:08 +0100 Subject: [PATCH] Fix macros --- templates/macros.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/macros.html b/templates/macros.html index 34a25ff..e32558e 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -1,5 +1,5 @@ {% macro primary_category(song) %} - {%- if song.taxonomies["album"] -%} - {{ song.taxonomies["album"][0] }} - {%- endif -%} +{%- if song.taxonomies["category"] -%} +{{ song.taxonomies["category"][0] }} +{%- endif -%} {% endmacro %}