{% block static_breadcrumbs %}
{% comment %}
Hard-code as many of these static breadcrumbs as you like.
They'll be displayed for every page in your app, before the dynamic
breadcrumbs you supply from your view, if any.
{% endcomment %}
{# My parent organisation #}
{% endblock %}
{% comment %}
Application-specific breadcrumbs are handled by this little loop.
Pass a dictionary of any additional breadcrumbs as "breadcrumbs"
like:
breadcrumbs = {}
breadcrumbs[0] = dict(name='Page of my cool app', url='http://my.cool.app/page/')
breadcrumbs[1] = dict(name='Subpage of my cool app', url='http://my.cool.app/page/subthingy/')
...
return render_to_response('campl.html', {'breadcrumbs':breadcrumbs, ...})
{% endcomment %}
{% for index, breadcrumb in breadcrumbs.items %}