{% macro render_depth_one_collection(community, tree, collection) %} {% set root_collection=collection[collection.root] %}
{% set logo_url = url_for("static", filename="images/collections/" ~ root_collection.slug ~ ".jpg") %}
{%- if root_collection.children -%}
{%- for child_id in root_collection.children -%} {% set child_collection = collection[child_id] %}
{{ child_collection.title }}
{%- endfor -%}
{%- endif -%}
{%- endmacro %}