From 4b66223bb3af7558e428d3b59fb9e4febcd34f8c Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Fri, 28 Jul 2017 19:10:54 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Only=20show=20related=20posts=20?= =?UTF-8?q?widget=20if=20there=20are=20posts=20available=20(#332)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue - use a block param and if combo to add a guard to the get helper - this ensures that the widget is only displayed if there is content available to display --- post.hbs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/post.hbs b/post.hbs index 893252e..eaf6916 100644 --- a/post.hbs +++ b/post.hbs @@ -102,7 +102,8 @@ into the {body} of the default.hbs template --}}