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 fcc8d6a commit 1882830
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
layout: home
---

{% assign dataset_posts = site.posts | where: "category", "dataset" %}
{% assign unique_echoes = "" | split: "" %}

{% for post in dataset_posts %}
{% for post in site.categories.dataset %}
{% assign unique_echoes = unique_echoes | concat: post.echoes %}
{% endfor %}

Expand All @@ -30,7 +29,11 @@
<td>{{ post.title }}</td>
<td>{{ post.scanner }}</td>
{% for echo in unique_echoes %}
<td>{% if echo in post.echoes %}X{% endif %}</td>
<td>
{% if echo in post.echoes %}
X
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
Expand Down

0 comments on commit 1882830

Please sign in to comment.