{% assign selectedPlatform = page.url | remove: "/hubs/" | remove: "/" | remove: ".html" %} {% assign platform = site.data.routes.platforms | where: "href", selectedPlatform | first %}

{{ platform.hub-title }}

{{ platform.hub-description }}

{% for hub in platform.hubs %} {% include hub-card.html hub=hub platform=selectedPlatform %} {% endfor %}