%= csrf_meta_tag %>
<%= page_title %>
<%= stylesheet_link_tag "manifest" %> <%= yield :head %>
<% if @datasets %> <%# XXX: special-casing matches federation %> <% else %> <% end %> <%= render 'layouts/modals' %> <%= render 'layouts/navigation' %>
" id="content"> <%= yield :page_header %> <% flash.each do |type, messages| %> <% Array.wrap(messages).each do |msg| %> <%= alert(type) { msg } %> <% end %> <% end %> <%= yield %>
<% if content_for?(:sidebar) %>
<%= yield :sidebar %>
<% end %>
<%= javascript_include_tag "manifest" %> <%= yield :scripts %>