emencia / django-blog-lotus

A weblog application with Django.
https://django-blog-lotus.readthedocs.io/
MIT License
5 stars 1 forks source link

Add Breadcrumbs #23

Closed sveetch closed 2 years ago

sveetch commented 2 years ago

There is currently no breadcrumbs, i could make it almost hardcoded in templates using a block and block.super, but it may not be the best way.

However i'm not sure this is the most urgent thing to develop a little module to manage breadcrumbs from code (likerly used in a templatetag).

sveetch commented 2 years ago

The zinnia way to do it from code seems nice:

https://github.com/emencia/django-blog-xinnia/blob/master/zinnia/breadcrumbs.py

i didn't looked deep on the code and there are some things i won't do the same way but it may be a good approach.

sveetch commented 2 years ago

This package may be a nice implementation https://github.com/tj-django/django-view-breadcrumbs i need to dig a little more to see how it works.

sveetch commented 2 years ago

Done with django-view-breadcrumbs as an optional feature (enabled only if extra requirement 'breadcrumb' has been installed).