1
0
Peter Gao 10 жил өмнө
parent
commit
a3e29c8cc1
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      _layouts/post.html

+ 2 - 0
_layouts/post.html

@@ -8,6 +8,7 @@ layout: default
   {{ content }}
 </article>
 
+{% if site.related_posts != empty %}
 <aside class="related">
   <h2>Related Posts</h2>
   <ul class="related-posts">
@@ -23,3 +24,4 @@ layout: default
     {% endfor %}
   </ul>
 </aside>
+{% endif %}