Skip to content

Commit d357bc0

Browse files
committed
Only show 'Associated Links' header if there are links
1 parent 6d3fe72 commit d357bc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_layouts/presentation.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ <h4 class="text-muted">{{ date }}</h4>
4343
</div>
4444

4545

46+
{% if page.links %}
4647
<h4 class="h4 mt-3 mb-0">Associated Links</h2>
4748
<ul>
4849
{% for link in page.links %}
4950
<li><a href="{{ link.value }}" target="_blank" rel="noopener noreferrer">{{ link.name }}</a></li>
5051
{% endfor %}
5152
</ul>
53+
{% endif %}
5254
</div>
5355
</div>
5456
</div>

0 commit comments

Comments
 (0)