diff options
author | Valentin Brard <valentin.brard@gmail.com> | 2015-04-08 07:38:06 +0300 |
---|---|---|
committer | Valentin Brard <valentin.brard@gmail.com> | 2015-04-08 07:48:16 +0300 |
commit | 837e80527f2cba753ad735ab182133046decfc3f (patch) | |
tree | 5ac1720f933654835965f067647cdb47edf884b6 | |
parent | 929d84ee1fde930e00d3ef8c423dbea01fb00525 (diff) |
Only include read-more.html if site.related_posts.size > 0
-rw-r--r-- | _layouts/post.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index e216955..57a238d 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -50,7 +50,7 @@ </footer> </div><!-- /.entry-content --> {% if page.comments != false %}<section id="disqus_thread"></section><!-- /#disqus_thread -->{% endif %} - {% if site.related_posts.size %}{% include read-more.html %}{% endif %} + {% if site.related_posts.size > 0 %}{% include read-more.html %}{% endif %} </article> </div><!-- /#main --> |