{% macro renderDescendants(doc, docType, title='', recursed=false) %} {% set descendants = doc.descendants | filterByPropertyValue('docType', docType) %} {% if descendants.length %} {% if title %}

{$ title $}

{% endif %} {% endif %} {% endmacro %}