This commit is contained in:
5
templates/macros.html
Normal file
5
templates/macros.html
Normal file
@ -0,0 +1,5 @@
|
||||
{% macro primary_category(song) %}
|
||||
{%- if song.taxonomies["category"] -%}
|
||||
{{ song.taxonomies["category"][0] }}
|
||||
{%- endif -%}
|
||||
{% endmacro %}
|
Reference in New Issue
Block a user