Skip to content

Commit

Permalink
Update the landing page.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Aug 1, 2024
1 parent d2a3ee8 commit fcc8d6a
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 6 deletions.
1 change: 1 addition & 0 deletions _posts/2024-08-01-ds003592.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ afni:
---

3 echoes, physio, 301 subjects

38 changes: 38 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
# Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults

layout: home
---

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

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

{% assign unique_echoes = unique_echoes | uniq %}

<table>
<thead>
<tr>
<th>Title</th>
<th>Scanner</th>
{% for echo in unique_echoes %}
<th>{{ echo }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for post in dataset_posts %}
<tr>
<td>{{ post.title }}</td>
<td>{{ post.scanner }}</td>
{% for echo in unique_echoes %}
<td>{% if echo in post.echoes %}X{% endif %}</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
6 changes: 0 additions & 6 deletions index.md

This file was deleted.

0 comments on commit fcc8d6a

Please sign in to comment.