{% macro render(links) %} [ {%- for link in links -%} {{ link[0] }}{% if not loop.last %} / {% endif %} {%- endfor -%} ] {% endmacro %}