Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Brard <valentin.brard@gmail.com>2015-04-08 07:38:06 +0300
committerValentin Brard <valentin.brard@gmail.com>2015-04-08 07:48:16 +0300
commit837e80527f2cba753ad735ab182133046decfc3f (patch)
tree5ac1720f933654835965f067647cdb47edf884b6
parent929d84ee1fde930e00d3ef8c423dbea01fb00525 (diff)
Only include read-more.html if site.related_posts.size > 0
-rw-r--r--_layouts/post.html2
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 -->