From b9b13c7d898ed001e1b76ee59bcae83f6d90d234 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 3 Apr 2020 11:14:15 -0700 Subject: [PATCH] Add size check for related posts Fixes #76 --- _layouts/post.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_layouts/post.html b/_layouts/post.html index c027477605b..c4bc2533557 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -8,8 +8,9 @@

{{ page.title }}

{{ content }} +{% if site.related_posts.size >= 1 %} +{% endif %}