<%= stylesheet_link_tag 'instiki' unless @inline_style %> <%= javascript_include_tag :defaults %> <% if @web %> <%= auto_discovery_link_tag(:rss, :controller => 'wiki', :web => @web.address, :action => 'rss_with_headlines') %> <%= auto_discovery_link_tag(:rss, :controller => 'wiki', :web => @web.address, :action => 'rss_with_content') %> <% end %>

<% if @page and (@page.name == 'HomePage') and %w( show published print ).include?(@action_name) %> <%= h(@web.name) + (@show_diff ? ' (changes)' : '') %> <% elsif @web %> <%= @web.name %>
<%= @title %> <% else %> <%= @title %> <% end %>

<%= render 'navigation' unless @web.nil? || @hide_navigation %> <% if @flash[:info] %>
<%= escape_preserving_linefeeds @flash[:info] %>
<% end %> <% if @error or @flash[:error] %>
<%= escape_preserving_linefeeds(@error || @flash[:error]) %>
<% end %> <%= @content_for_layout %> <% if @show_footer %> <% end %>