Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Aug 1, 2024
1 parent 9e5a220 commit 269f270
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
---

{% assign echoes = "" | split: "" %}

{% assign extras = "" | split: "" %}
{% for post in site.categories.dataset %}
{% assign echoes = echoes | concat: post.echoes %}
{% assign extras = extras | concat: post.extras %}
{% endfor %}

{% assign echoes = echoes | uniq | sort %}
{% assign extras = extras | uniq | sort %}

<table>
<thead>
Expand All @@ -22,6 +23,9 @@
{% for echo in echoes %}
<th>{{ echo }}</th>
{% endfor %}
{% for extra in extras %}
<th>{{ extra }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
Expand All @@ -37,6 +41,13 @@
{% endif %}
</td>
{% endfor %}
{% for extra in extras %}
<td>
{% if post.extras contains extra %}
X
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit 269f270

Please sign in to comment.