Skip to content

Commit e3cad27

Browse files
authored
Merge pull request #459 from fallow64/empty-associated-links
Only show 'Associated Links' header if there are links
2 parents 1dfb25d + d357bc0 commit e3cad27

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
@@ -55,12 +55,14 @@ <h4 class="text-muted">{{ date }}</h4>
5555
</div>
5656

5757

58+
{% if page.links %}
5859
<h4 class="h4 mt-3 mb-0">Associated Links</h2>
5960
<ul>
6061
{% for link in page.links %}
6162
<li><a href="{{ link.value }}" target="_blank" rel="noopener noreferrer">{{ link.name }}</a></li>
6263
{% endfor %}
6364
</ul>
65+
{% endif %}
6466
</div>
6567
</div>
6668
</div>

0 commit comments

Comments
 (0)