{{#each categoryBreadcrumbs as |breadcrumb|}}
  {{#if breadcrumb.hasOptions}}
    {{category-drop
      category=breadcrumb.category
      categories=breadcrumb.options
      tagId=tag.id
      options=(hash
        parentCategory=breadcrumb.parentCategory
        subCategory=breadcrumb.isSubcategory
        noSubcategories=breadcrumb.noSubcategories
        autoFilterable=true
      )
    }}
  {{/if}}
{{/each}}

{{#if siteSettings.tagging_enabled}}
  {{#if additionalTags}}
    {{tags-intersection-chooser
      currentCategory=category
      mainTag=tag.id
      additionalTags=additionalTags
      options=(hash
        categoryId=category.id
      )
    }}
  {{else}}
    {{tag-drop
      currentCategory=category
      noSubcategories=noSubcategories
      tagId=tag.id
    }}
  {{/if}}
{{/if}}

{{plugin-outlet name="bread-crumbs-right" connectorTagName="li" tagName=""}}
