Skip to content

Commit a3e29c8

Browse files
author
Peter Gao
committed
Update post.html
1 parent cf42fa9 commit a3e29c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_layouts/post.html

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ <h1 class="post-title">{{ page.title }}</h1>
88
{{ content }}
99
</article>
1010

11+
{% if site.related_posts != empty %}
1112
<aside class="related">
1213
<h2>Related Posts</h2>
1314
<ul class="related-posts">
@@ -23,3 +24,4 @@ <h3>
2324
{% endfor %}
2425
</ul>
2526
</aside>
27+
{% endif %}

0 commit comments

Comments
 (0)