<% content_for :layout_name, 'catalog, ' %> <% content_for :main do %>
<% if content_for?(:sidebar) %>
<% else %>
<% end %> <%= yield %>
<% end %> <%= render template: "layouts/#{theme}" %>