<% if @page and (@page.name == 'HomePage') and %w( show published print ).include?(@action_name) %>
<%= @web.name %>
<% elsif @web %>
<%= @web.name %>
<%= @title %>
<% else %>
<%= @title %>
<% end %>
<% if @error or @flash[:error] %>
<%= (@error || @flash[:error]) %>
<% end %>
<% if @flash[:info] %>
<%= @flash[:info].to_s %>
<% end %>
<%= render 'navigation' unless @web.nil? || @hide_navigation %>
<%= @content_for_layout %>
<% if @show_footer %>
<% end %>