Skip to content

Commit

Permalink
Merge pull request barryclark#89 from vbrard/bugfix/related_posts
Browse files Browse the repository at this point in the history
Only include read-more.html if site.related_posts.size > 0
  • Loading branch information
mmistakes committed Apr 8, 2015
2 parents 929d84e + 837e805 commit b17c3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h2><span class="entry-date date published"><time datetime="{{ page.date | date_
</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 -->

Expand Down

0 comments on commit b17c3bc

Please sign in to comment.