<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
  <%= render 'layouts/head' %>

  <body>
    <div class="wrapper">
      <%= render 'layouts/navigation' %>

      <%= yield :jumbotron %>

      <div id="hdo-content" class="container">
        <%= render 'layouts/flash' %>

        <%= yield %>
      </div>
      <div class="push"></div>
    </div>

    <%= render 'layouts/footer'%>

    <%= javascript_include_tag "application" %>
    <%= render 'layouts/ga' if Rails.env.production?  %>

    <script>HDO.setupSearchWidget();</script>
    <%= yield :document_ready %>

    </body>
</html>

<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
  <%= render 'layouts/head' %>

  <body>
    <div class="wrapper">
      <%= render 'layouts/navigation' %>

      <%= yield :jumbotron %>

      <div id="hdo-content" class="container">
        <%= yield %>
      </div>
      <div class="push"></div>
    </div>

    <%= render 'layouts/footer'%>

    <%= javascript_include_tag "application" %>
    <%= render 'layouts/ga' if Rails.env.production?  %>

    <script>HDO.setupSearchWidget();</script>
    <%= yield :document_ready %>

    </body>
</html>

Remove flashes from the main layout.
Remove flashes from the main layout.

If the first request to the app is a request with a flash set on the session, we would cache the flashes.

Since no admin pages are cached, this avoids this problem.
