{# Copyright (C) 2026 Front Matter. invenio-pidbox is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. The metrics of one community's records, in the community header above its menu (details/header.html), with the first column of PIDBOX_COMMUNITY_METRICS_COLUMN. Counted with the community's records API, and linked to the community's own search. #} {%- set slug = community_ui["slug"] | urlencode %} {%- with metrics_id="community-metrics", metrics_api="/api/communities/" ~ slug ~ "/records", metrics_search="/communities/" ~ slug ~ "/records", metrics_column=pidbox_metrics_column(config.PIDBOX_COMMUNITY_METRICS_COLUMN) %} {%- include "invenio_pidbox/records_metrics.html" %} {%- endwith %}