{% macro footer_link(title, kind, url) %} {%- if request.path[1:] == title.lower() %} {% set cls='active' %} {% endif -%} {%- if kind == 'external'%}
  • {{title}}
  • {% else -%}
  • {{title}}
  • {% endif -%} {% endmacro %} {%- cache 60*60*5, [g.pages, request.path[1:]] %} {% endcache -%}