docs/_includes/platform.html
Rama main · réplica de lectura del repositorio original.
{% assign selectedPlatform = page.url | remove: "/hubs/" | remove: "/" | remove: ".html" %}
{% assign platform = site.data.routes.platforms | where: "href", selectedPlatform | first %}
<div class="homepage">
<h1 class="title">{{ platform.hub-title }}</h1>
<p>{{ platform.hub-description }}</p>
<div class="platform-cards-group">
{% for hub in platform.hubs %}
{% include hub-card.html hub=hub platform=selectedPlatform %}
{% endfor %}
</div>
</div>