{% macro tag(text, icon=None, link=None) -%} {% if link %} {% if icon %} {% endif %} {{ text }} {% else %}
{% if icon %} {% endif %} {{ text }}
{% endif %} {%- endmacro %} {% macro tagbox(tags) -%} {% if tags %}
{%- for tag in tags %} {{tag.slug}} {% endfor -%}
{% endif %} {%- endmacro %}