content_block_ok is not enough to check for existing sidebar content

Change-Id: Iccc83498f91348ea97f46a392707d0b4ee949ff1
diff --git a/templates/partial/side.html.ep b/templates/partial/side.html.ep
index ff2df26..3f1fc0e 100644
--- a/templates/partial/side.html.ep
+++ b/templates/partial/side.html.ep
@@ -1,5 +1,7 @@
-<aside tabindex="0" class="<% unless (content_block_ok('sidebar')) { %>off<% } elsif (stash('sidebar_active')) { %>active<% } %>">
+% my $side_bar = content_block 'sidebar';
+
+<aside tabindex="0" class="<% unless (length($side_bar) > 1) { %>off<% } elsif (stash('sidebar_active')) { %>active<% } %>">
   <div>
-%= content_block 'sidebar'
+    %= $side_bar
   </div>
 </aside>