{% extends "index.html" %}

{# NOTE: Assumes no pagination #}
{% set CANONICAL_URL = SITEURL + '/' + CATEGORY_URL.format(slug=category.slug) %}

{% block title -%}
    {{ category|striptags|breaking_spaces }} &mdash; {{ super() }}
{%- endblock %}

{% block breadcrumbs %}
    {% if DISPLAY_BREADCRUMBS %}
    <ol class="breadcrumb">
        <li><a href="{{ SITE_ROOT_URL | default('/') }}" title="{{ SITENAME }}"><span class="fa fa-home fa-lg"></span></a></li>
      {% if MENUITEMS_2_AT %}
        <li><a href="{{ SITEURL -}} / {{- MENUITEMS_2_AT_LINK }}" title="{{ MENUITEMS_2_AT }}">{{ MENUITEMS_2_AT }}</a></li>
      {% endif %}
        <li><a href="{{ SITEURL -}} / {{- CATEGORIES_URL }}" title="{{ SITENAME }} Categories">Categories</a></li>
        <li class="active">{{ category | striptags | trim }}</li>
    </ol>
    {% endif %}
{% endblock %}
