{% macro render(task) -%} {% set rs = task.list_resources('PROFILE_STAT') + task.list_resources('SVG_PROFILE_STAT') %} {% if rs %}