diff --git a/app/views/like/_like.html.erb b/app/views/like/_like.html.erb index f9265c529d..b183c6d020 100644 --- a/app/views/like/_like.html.erb +++ b/app/views/like/_like.html.erb @@ -37,6 +37,10 @@ <% end %> + + + + <% if @node %> <% subpage_count = Tag.find_pages("parent:#{@node.slug}", 100).count %> <% if subpage_count > 0 %>