{#
Copyright (C) 2026 Front Matter.
Rogue Scholar is free software; you can redistribute it and/or modify it
under the terms of the MIT License; see LICENSE file for more details.
#}
{# Row 2: Percentage metrics. A funder's page lists the works it funded, so
"Works with Funding" says little there, and "Works with ROR ID" comes
first instead. What the organization is, is its first ROR type: MHH,
typed education and funder, is a university, Deutsche
Kinderkrebsstiftung, typed funder and other, a funder. #}
{%- set types = (organization.types if organization is defined and organization else []) or [] %}
{%- set is_funder = (types | first | default("") | lower) == "funder" %}