<%= cache page do %>
  <%= content_tag :section, :id => page.perma_id, :class => page_css_class(page), :data => {:template => page.template, :id => page.id, :chapter_id => page.chapter_id} do %>
    <%= render_page_template(page, entry: entry) %>
    <a class="to_top" href="#content"><%= t('pageflow.public.goto_top') %></a>
  <% end %>
<% end %>

<%= cache page do %>
  <%= content_tag(:section,
                  id: page.perma_id,
                  class: page_css_class(page),
                  data: {
                    template: page.template,
                    id: page.id, chapter_id: page.chapter_id
                  }) do -%>
    <% concat(render_page_template(page, entry: entry)) -%>
  <% end %>
  <a class="to_top" href="#content"><%= t('pageflow.public.goto_top') %></a>
<% end %>

Move top links out of page sections
Move top links out of page sections

Fix React render warnings by removing whitespace and other nodes which
are not rendered by React from page section elements.
