mixtape/templates/macros.html
Emil Miler 51f29734ee
All checks were successful
Build / build (push) Successful in 5m31s
Basic styling for song-list
2024-02-06 19:49:24 +01:00

6 lines
144 B
HTML

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