Skip to content

Commit 656732c

Browse files
committed
Fix implementations list on report page.
1 parent 1a385f9 commit 656732c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/reports/reports.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,18 @@ breadcrumbs:
2323
{%- endfor -%}
2424
</div>
2525
</div>
26+
27+
{%- assign currentSpec = results.specsImplementedBy | where: 'title', report.respecConfig.title | first -%}
28+
{%- if currentSpec.implementations.length > 0 -%}
2629
<div class="column">
2730
<div class="ui segment">
2831
<h3 class="ui header">Implementations</h3>
2932
<ul>
30-
{%- assign currentSpec = results.specsImplementedBy | where: 'title', matrix.title | first -%}
3133
{%- for imp in currentSpec.implementations -%}
3234
<li><a href="/implementations/{{ imp | slugify }}">{{ imp }}</a></li>
3335
{%- endfor -%}
3436
</ul>
3537
</div>
3638
</div>
39+
{%- endif -%}
3740
</div>

0 commit comments

Comments
 (0)