<% set_meta_tags(canonical:   root_url,
                 alternate:   alternate_home_map,
                 title:       t('.title'),
                 description: t('.description').strip) %>


<%= heading_tag t('layouts.base.title'), class: 'visually-hidden' %>

<%= render 'shared/trust_banner', items: t('.trust_banner_list') %>

<div class="l-home-directory">
  <div class="l-constrained">
    <%= heading_tag(level: heading_level ||= 2, class: 'l-home-directory__title') do %>
      <%= t('.directory_heading') %>
    <% end %>
    <%= render 'shared/directory', items: category_navigation %>
  </div>
</div>

<%= render 'shared/tool_promos', items: t('.tools') %>

<div class="l-constrained">
  <hr class="l-homepage-divider">
</div>

<%= render 'shared/article_promos', items: t('.promoted') %>

<% content_for :head do %>
  <script type="application/ld+json">
    {
       "@context": "http://schema.org",
       "@type": "WebSite",
       "url": "moneyadviceservice.org.uk",
       "potentialAction": {
         "@type": "SearchAction",
         "target": "https://www.moneyadviceservice.org.uk/en/search?query={search_term_string}",
         "query-input": "required name=search_term_string"
       }
    }
  </script>
<% end %>

<% set_meta_tags(canonical:   root_url,
                 alternate:   alternate_home_map,
                 title:       t('.title'),
                 description: t('.description').strip) %>


<%= heading_tag t('layouts.base.title'), class: 'visually-hidden' %>

<%= render 'shared/trust_banner', items: t('.trust_banner_list') %>

<div class="l-home-directory">
  <div class="l-constrained">
    <%= heading_tag(level: heading_level ||= 2, class: 'l-home-directory__title') do %>
      <%= t('.directory_heading') %>
    <% end %>
    <%= render 'shared/directory', items: category_navigation %>
  </div>
</div>

<%= render 'shared/tool_promos', items: t('.tools') %>

<div class="l-constrained">
  <hr class="l-homepage-divider">
</div>

<%= render 'shared/article_promos', items: t('.promoted') %>

Add Google site links script in the home page
Add Google site links script in the home page
