Fil d’Ariane

Documentation du tag

Returns a breadcrumb item. Takes a dict as parameter, with the following structure:

data_dict = {
    "links": [{"url": "first-url", "title": "First title"}, {...}],
    "current": "Current page title",
    "root_dir": "the root directory, if the site is not installed at the root of the domain"
}

If the dict is not passed as a parameter, it extracts it from context.

Tag name: village_breadcrumb

Usage: {% village_breadcrumb data_dict %}

Résultat