{% import 'macro' as macro %} {% for dep in chart.local_cfg %} {% endfor %} {% for c in chart %} {{ macro.render_chart_content(c) }} {% endfor %}