<commit_before>{{#collection "categories"}}
<span class="nav-section-title">{{inflection}} <span class="badge">{{items.length}}</span></span>
<ul class="nav nav-pills nav-stacked">
  {{#each items}}
    {{#is this.data.draft true}}{{else}}
    {{> sidenav-link ..}}
    {{/is}}
  {{/each}}
</ul>
{{/collection}}<commit_msg>setting active class to control collapsing menu items<commit_after><ul class="nav">
{{#collection "categories"}}
  <li><span{{#is ../category this.category}} class="active"{{/is}}><a href="{{link-to (first items)}}" class="nav-section-title">{{inflection}}</a></span>
    <ul class="nav nav-pills nav-stacked {{#is ../category this.category}} active{{/is}}">
    {{#each items}}
      {{#is this.data.draft true}}{{else}}
      {{> sidenav-link ..}}
      {{/is}}
    {{/each}}
    </ul>
  </li>
{{/collection}}
</ul>
{'fraction_non_alphanumeric': 0.25952380952380955, 'fraction_numerical': 0.0, 'mean_word_length': 4.25625, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, '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': '4037029', 'n_tokens_mistral': 295, 'n_tokens_neox': 287, 'n_words': 58}