{# -*- coding: utf-8 -*- This file is part of Invenio. Copyright (C) 2024 CERN. Invenio is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {% extends "invenio_communities/details/base.html" %} {% from "invenio_communities/collections/macros.html" import render_depth_one_collection %} {% set active_community_header_menu_item= 'browse' %} {% set subcommunities_endpoint = community["links"]["subcommunities"] %} {% set community_slug = community["slug"] %} {% set can_have_children = community["children"]["allow"] %} {%- block javascript %} {{ super() }} {{ webpack['invenio-communities-browse.js'] }} {%- endblock %} {%- block page_body %} {{ super() }} {%- for tree_id, ctree in trees.items() -%}