{%- import '_macros_site.html' as macros_site with context -%} {%- macro render_debug_info() %} {# When accessing static files, there is no identity in g so the can() function would raise an exception. #} {%- if 'identity' in g and permission_can('developer') %}