<commit_before><% 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') %><commit_msg>Add feature toggle around tools_promo section<commit_after><% 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>

<% if Feature.active?(:tools_promos) %>
  <%= render 'shared/tool_promos', items: t('.tools') %>

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

<%= render 'shared/article_promos', items: t('.promoted') %>
{'fraction_non_alphanumeric': 0.19552752293577982, 'fraction_numerical': 0.0011467889908256881, 'mean_word_length': 3.5207253886010363, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '788030', 'n_tokens_mistral': 615, 'n_tokens_neox': 562, 'n_words': 104}