-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathecosystem.html
More file actions
29 lines (28 loc) · 849 Bytes
/
ecosystem.html
File metadata and controls
29 lines (28 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
title: Ecosystem
permalink: /ecosystem/
description: >-
Other tools in the OpenFE ecosystem.
---
{% comment %}
I don't exactly love this setup, because it scales as n_categories *
n_ecosystem_projects. However, AFAICT, Jekyll/liquid doesn't have proper
mappings.
{% endcomment %}
{% for category in site.ecosystem_catalog.categories %}
<h3>{{ category.label }}</h3>
{% comment %}
Loop as list (as opposed to creating a structure of divs) because that's
better for screenreaders.
{% endcomment %}
<ul class="ecosystemSummaryList">
{% for project in site.ecosystem %}
{% assign cat_plugins = project[category.name] %}
{% for plugin in cat_plugins %}
<li class="ecosystemSummaryItem">
{% include ecosystem-summary.html plugin=plugin project=project %}
</li>
{% endfor %}
{% endfor %}
</ul>
{% endfor %}