{% macro render(ViewAttr) %} {% set contentPath = '' %} {% set contentPath = ViewAttr.parent + '/' if ViewAttr.child %} {% set contentPath = contentPath + ViewAttr.id %} {% endmacro %}