<%= javascript_include_tag 'page_helper' %> <%= stylesheet_link_tag 'instiki', :media => 'all' unless @inline_style %> <%= stylesheet_link_tag 'syntax', :media => 'all' unless @inline_style %> <%= "".html_safe if @style_additions %> <%= javascript_include_tag :defaults %> <%= csrf_meta_tag %> <%- if @web -%> <%- if @web.markup == :markdownMML -%> <%- end -%> <%= auto_discovery_link_tag(:atom, {:controller => 'wiki', :web => @web.address, :action => 'atom_with_headlines'}, :title => 'Atom with headlines') %> <%= auto_discovery_link_tag(:atom, {:controller => 'wiki', :web => @web.address, :action => 'atom_with_content'}, :title => 'Atom with full content') %> <%- end -%>

<%= render(:file => 'svg_logo') if xhtml_enabled? %> <%- 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(:file => '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 -%>