<commit_before><section class="d-dropdown" id="site-map-dropdown">
  <ul class="location-links">
    {{#if showAdminLinks}}
      <li>
        <a href="/admin" class="admin-link"><i class='fa fa-wrench'></i>{{i18n admin_title}}</a>
      </li>
      <li>
        <a href="/admin/flags/active" class="flagged-posts-link"><i class='fa fa-flag'></i>{{i18n flags_title}}</a>
        {{#if flaggedPostsCount}}
          <a href='/admin/flags/active' title='{{i18n notifications.total_flagged}}' class='badge-notification flagged-posts'>{{flaggedPostsCount}}</a>
        {{/if}}
      </li>
    {{/if}}
    <li>
      {{#titled-link-to "discovery.latest" titleKey="filters.latest.help" class="latest-topics-link"}}{{i18n filters.latest.title}}{{/titled-link-to}}
    </li>
    {{#if showBadgesLink}}
      <li>
        <a href="{{unbound badgesUrl}}" class="badge-link">{{i18n badges.title}}</a>
      </li>
    {{/if}}
    {{#if showKeyboardShortcuts}}
      <li><a href="#" {{action keyboardShortcuts}} class="keyboard-shortcuts-link">{{i18n keyboard_shortcuts_help.title}}</a>
    {{/if}}
    <li>
      <a href="{{unbound faqUrl}}" class="faq-link">{{i18n faq}}</a>
    </li>
    {{#if showMobileToggle}}
      <li><a href="#" class="mobile-toggle-link" {{action toggleMobileView}}>{{boundI18n mobileViewLinkTextKey}}</a></li>
    {{/if}}
  </ul>

  {{#if categories}}
    <ul class="category-links">
      <li class="heading" title="{{i18n filters.categories.help}}">
        {{#link-to "discovery.categories"}}{{i18n filters.categories.title}}{{/link-to}}
      </li>

      {{#each categories itemController=itemController}}
        {{category-link this allowUncategorized=true showParent=true}}
        {{#if showBadges}}
          {{#if unreadTopics}}
            <a href={{unbound unreadUrl}} class='badge unread-posts badge-notification' title='{{i18n topic.unread_topics count="unreadTopics"}}'>{{unreadTopics}}</a>
          {{/if}}
          {{#if newTopics}}
            <a href={{unbound newUrl}} class='badge new-posts badge-notification' title='{{i18n topic.new_topics count="newTopics"}}'>{{newTopics}} {{i18n filters.new.title.zero}}</a>
          {{/if}}
        {{else}}
          <b class="topics-count">{{unbound topic_count}}</b>
        {{/if}}
      {{/each}}
    </ul>
  {{/if}}
</section><commit_msg>FIX: Latest link in site map was not working correctly.<commit_after><section class="d-dropdown" id="site-map-dropdown">
  <ul class="location-links">
    {{#if showAdminLinks}}
      <li>
        <a href="/admin" class="admin-link"><i class='fa fa-wrench'></i>{{i18n admin_title}}</a>
      </li>
      <li>
        <a href="/admin/flags/active" class="flagged-posts-link"><i class='fa fa-flag'></i>{{i18n flags_title}}</a>
        {{#if flaggedPostsCount}}
          <a href='/admin/flags/active' title='{{i18n notifications.total_flagged}}' class='badge-notification flagged-posts'>{{flaggedPostsCount}}</a>
        {{/if}}
      </li>
    {{/if}}
    <li>
      <a href="/" title="{{i18n filters.latest.help}}" class="latest-topics-link">{{i18n filters.latest.title}}</a>
    </li>
    {{#if showBadgesLink}}
      <li>
        <a href="{{unbound badgesUrl}}" class="badge-link">{{i18n badges.title}}</a>
      </li>
    {{/if}}
    {{#if showKeyboardShortcuts}}
      <li><a href="#" {{action keyboardShortcuts}} class="keyboard-shortcuts-link">{{i18n keyboard_shortcuts_help.title}}</a>
    {{/if}}
    <li>
      <a href="{{unbound faqUrl}}" class="faq-link">{{i18n faq}}</a>
    </li>
    {{#if showMobileToggle}}
      <li><a href="#" class="mobile-toggle-link" {{action toggleMobileView}}>{{boundI18n mobileViewLinkTextKey}}</a></li>
    {{/if}}
  </ul>

  {{#if categories}}
    <ul class="category-links">
      <li class="heading" title="{{i18n filters.categories.help}}">
        {{#link-to "discovery.categories"}}{{i18n filters.categories.title}}{{/link-to}}
      </li>

      {{#each categories itemController=itemController}}
        <li class="category">
          {{category-link this allowUncategorized=true showParent=true}}
          {{#if showBadges}}
            {{#if unreadTopics}}
              <a href={{unbound unreadUrl}} class='badge unread-posts badge-notification' title='{{i18n topic.unread_topics count="unreadTopics"}}'>{{unreadTopics}}</a>
            {{/if}}
            {{#if newTopics}}
              <a href={{unbound newUrl}} class='badge new-posts badge-notification' title='{{i18n topic.new_topics count="newTopics"}}'>{{newTopics}} {{i18n filters.new.title.zero}}</a>
            {{/if}}
          {{else}}
            <b class="topics-count">{{unbound topic_count}}</b>
          {{/if}}
        </li>
      {{/each}}
    </ul>
  {{/if}}
</section>
{'fraction_non_alphanumeric': 0.2127569400296673, 'fraction_numerical': 0.01144310235219326, 'mean_word_length': 3.206773618538324, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '937396', 'n_tokens_mistral': 1666, 'n_tokens_neox': 1592, 'n_words': 276}