<% 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] %>
<%= h(@error || @flash[:error]) %>
<% end %>
<% if @flash[:info] %>
<% end %>
<%= render 'navigation' unless @web.nil? || @hide_navigation %>
<%= @content_for_layout %>
<% if @show_footer %>
<% end %>