Skip to content

Commit 08f2631

Browse files
authored
hotfix (#12)
1 parent d4f7398 commit 08f2631

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_includes/resource-table-page.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ <h2>Relevant tools and resources</h2>
3939
{%- for section in tool.related_pages %}
4040
{%- unless section.size == 0 %}
4141
{%- for tag in section[1] %}
42+
{%- unless tag == page.page_id %}
4243
{%- assign related_page = site.pages | where:"page_id",tag | first %}
4344
<a class="nohover" href="{{related_page.url | relative_url }}"><span class="badge default-badge">{{related_page.title}}</span></a>
45+
{%- endunless %}
4446
{%- endfor %}
4547
{%- endunless %}
4648
{%- endfor %}

0 commit comments

Comments
 (0)