<% set_meta_tags(alternate: alternate_options) %>

<% content_for(:alternate_link) do %>
  <%= link_to(alternate_url, lang: alternate_locale, class: "t-#{alternate_locale}-link") do %>
    <span class="icon icon--globe"></span>
    <%= t("locales.#{alternate_locale}") %>
  <% end %>
<% end %>

<%= render layout: 'layouts/unconstrained' do %>
  <div class="l-context-bar">
    <div class="l-constrained">
      <%= render 'shared/breadcrumbs', breadcrumbs: breadcrumbs %>
    </div>
  </div>

  <div class="l-constrained">
    <div class="l-container-tool">
      <%= yield :engine_content %>
    </div>
  </div>

  <% if display_category_directory? %>
    <div class="l-tool-nav">
      <div class="l-constrained">
        <section class="tool-nav">
          <%= render 'shared/directory',
                     items: category_navigation, heading_level: 4 %>
        </section>
      </div>
    </div>
  <% end %>
<% end %>

<% set_meta_tags(alternate: alternate_options) %>

<% content_for(:alternate_link) do %>
  <%= link_to(alternate_url, lang: alternate_locale, class: "t-#{alternate_locale}-link") do %>
    <span class="icon icon--globe"></span>
    <%= t("locales.#{alternate_locale}") %>
  <% end %>
<% end %>

<% content_for :context_bar do %>
  <%= render 'shared/breadcrumbs', breadcrumbs: breadcrumbs %>
<% end %>

<%= render layout: 'layouts/unconstrained' do %>
  <div class="l-constrained">
    <div class="l-container-tool">
      <%= yield :engine_content %>
    </div>
  </div>

  <% if display_category_directory? %>
    <div class="l-tool-nav">
      <div class="l-constrained">
        <section class="tool-nav">
          <%= render 'shared/directory',
                     items: category_navigation, heading_level: 4 %>
        </section>
      </div>
    </div>
  <% end %>
<% end %>

Make 'skip to main content' skip breadcrumbs by moving them to a content_for.
Make 'skip to main content' skip breadcrumbs by moving them to a content_for.
