forked from I2P_Developers/i2p.www
Render categories properly
This commit is contained in:
@@ -31,3 +31,10 @@
|
||||
{%- endif %}
|
||||
</div>
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro render_categories(categories) -%}
|
||||
{%- if categories and categories|length %}
|
||||
{%- for category in categories %}{{ category }}{% if not loop.last %}, {% endif %}{% endfor %}
|
||||
{%- else %}{{ _('None') }}
|
||||
{%- endif %}
|
||||
{%- endmacro %}
|
||||
|
Reference in New Issue
Block a user