From: Mark Otto Date: Sun, 21 Jun 2015 23:36:53 +0000 (-0700) Subject: Merge pull request #94 from dapenggao/patch-2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=48f632cd3b2009cc7ad716691814f240902cf9ff;hp=b069d23fe82562c29260a5045c116d198fd7c79d;p=blog Merge pull request #94 from dapenggao/patch-2 Hide "Related Posts" section if it is empty --- diff --git a/_layouts/post.html b/_layouts/post.html index 17433f3..ec63afc 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -8,6 +8,7 @@ layout: default {{ content }} +{% if site.related_posts != empty %} +{% endif %}