{% if 'active' in document['metadata'] and document['metadata']['active'] == "false" %} {% endif %}