_includes/read-more.html in cosy-jekyll-theme-1.0.7 vs _includes/read-more.html in cosy-jekyll-theme-1.0.8
- old
+ new
@@ -1,5 +1,5 @@
-{% if page.previous.url %}
+{% if page.previous.url and site.related_posts.size > 0%}
<a class="read-more" href="{{ site.url }}{{ page.previous.url }}" title="{{ page.previous.url.title }}">
<div class="read-more-header">
<div class="read-more-btn">Read More</div>
</div>
<div class="read-more-content">