{{#if shouldShow}}
  {{#unless isFiltered}}
    <a {{action onHeaderClick}}
      class="search-result-view__titlesep noHover"
      data-ts_selectable="true"
      data-test-selector={{concat category.id '-header'}}
      href="#">
      <span data-test-selector="title-separator" style="text-transform: uppercase">
        {{i18n category.separatorTitle}}
      </span>
      <span class="pill">{{cap-number category.totalHitCount 99}}</span>
      <span class="search-result-view__title-more">
        {{#if (gt category.hitCount 0)}}
          {{t 'general.common.more'}}
        {{else if (gt category.totalHitCount 0)}}
          {{i18n "Show"}}
        {{/if}}
      </span>
    </a>
  {{/unless}}

  {{#if category.hitCount}}
    <div data-test-selector="{{category.id}}-hits">
      {{yield}}
    </div>
  {{else if isFiltered}}
    {{partial 'components/navigation-search/no-results'}}
  {{/if}}
{{/if}}
