{% for path in filelists %} {% if path.path %}{{path.path}}{% else %}/{% endif %} {% endfor %}