<commit_before><ul class='unstyled custom-container' id='global-nav'>
  <li data-match-url='/*'>
    <a href='<%= TentStatus.settings[:url] || "/" %>'><div class='nav-icon app-icon-tentstatus icon-2x'></div></a>
  </li>

  <% if TentStatus.settings[:admin_url] %>
    <li>
      <a href='<%= TentStatus.settings[:admin_url] %>' title='Admin'><div class='nav-icon app-icon-settings icon-2x'></div></a>
    </li>
  <% end %>

  <li>
    <a title='Signout' data-view="SignoutButton">
      <div class='nav-icon app-icon-signout icon-2x'></div>
    </a>
  </li>
</ul><commit_msg>Show search nav item when configured<commit_after><ul class='unstyled custom-container' id='global-nav'>
  <li data-match-url='/*'>
    <a href='<%= TentStatus.settings[:url] || "/" %>'><div class='nav-icon app-icon-tentstatus icon-2x'></div></a>
  </li>

  <% if TentStatus.settings[:search_api_root] && TentStatus.settings[:search_api_key] %>
    <li data-match-url='/search'>
      <a href='/search' title='Search'><div class='nav-icon app-icon-search icon-2x'></div></a>
    </li>
  <% end %>

  <% if TentStatus.settings[:admin_url] %>
    <li>
      <a href='<%= TentStatus.settings[:admin_url] %>' title='Admin'><div class='nav-icon app-icon-settings icon-2x'></div></a>
    </li>
  <% end %>

  <li>
    <a title='Signout' data-view="SignoutButton">
      <div class='nav-icon app-icon-signout icon-2x'></div>
    </a>
  </li>
</ul>
{'fraction_non_alphanumeric': 0.2353356890459364, 'fraction_numerical': 0.0049469964664310955, 'mean_word_length': 3.751677852348993, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '4858719', 'n_tokens_mistral': 556, 'n_tokens_neox': 534, 'n_words': 91}