We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ffe6e commit d7fede0Copy full SHA for d7fede0
app/views/better_together/pages/show.html.erb
@@ -26,7 +26,7 @@
26
<% end %>
27
28
<%= render layout: @layout do %>
29
- <% if @page.template.present? && @content_blocks.size > 0 %>
+ <% if @page.template.present? && @content_blocks.size.zero? %>
30
<%= render template: @page.template %>
31
<% else %>
32
<%= render @page.hero_block if @page.hero_block %>
0 commit comments