Source

django-swingcms / swingcms / cms / templates / cms / breadcrumbs.html

{% load i18n %}



<div id='breadcrumbs'>

    <span>

        {% if plugin.items %}

            {% trans 'you are here' %}: 

            {% for link, name in plugin.items %}
            
                {% if link %}
                    <a href='{{ link }}'>{{ name }}</a>
                {% else %}
                    {{ name }}
                {% endif %}

                {% if not forloop.last %}

                    <img src='{{ STATIC_URL }}cms/icons/arrow.png' alt='arrow' />

                {% endif %}

            {% endfor %}

        {% else %}

            {% trans 'you are somewhere' %}

        {% endif %}

    </span>

</div>