Skip to content

Commit

Permalink
Merge pull request #9 from supernord/main
Browse files Browse the repository at this point in the history
data table in index.md
  • Loading branch information
supernord authored Sep 17, 2024
2 parents 92afd2f + cd6e995 commit 09ac58f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 1 addition & 7 deletions _includes/resource-table-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,7 @@
</div>
{%- endif %}
</td>
{%- capture related_pages %}
{%- for tag in tool.Type %}
{%- assign related_page = site.pages | where:"page_id",tag | first %}
<a href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{ related_page.title | truncate: 25 }}</span></a>
{%- endfor %}
{%- endcapture %}
<td>{{related_pages}}</td>
<td>{{tool.Type}}</td>
</tr>
{%- endfor %}
</tbody>
Expand Down
1 change: 1 addition & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Welcome
toc: true
sidebar: false
datatable: true
---


Expand Down

0 comments on commit 09ac58f

Please sign in to comment.