Skip to content

Commit ccf6c08

Browse files
authored
Related pages hotfix 2 (#13)
* hotfix * fix 2 * endif fi
1 parent 08f2631 commit ccf6c08

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

_includes/resource-table-all.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,10 @@ <h2>Relevant tools and resources</h2>
120120
{%- endunless %}
121121
{%- endfor %}
122122
{%- endcapture %}
123-
{%- endif %}
124123
<td>{{related_pages}}</td>
124+
{%- else %}
125+
<td></td>
126+
{%- endif %}
125127
<td></td>
126128
</tr>
127129
{%- endfor %}

_includes/resource-table-page.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ <h2>Relevant tools and resources</h2>
4747
{%- endunless %}
4848
{%- endfor %}
4949
{%- endcapture %}
50-
{%- endif %}
5150
<td>{{related_pages}}</td>
51+
{%- else %}
52+
<td></td>
53+
{%- endif %}
5254
</tr>
5355
{%- endfor %}
5456
</tbody>

0 commit comments

Comments
 (0)