{% macro footer_link(title, kind, url) %} {%- if request.path[1:] == title.lower() %} {% set cls='active' %} {% endif -%} {%- if kind == 'external'%}