You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has an assumption that breadcrumbs(...) will return a non-empty list. However it seems that certain crawlers are getting to the archive pages without a breadcrumb trail. I believe it should be sufficient, in this case to simply check:
if breadcrumbs:
before the call to set the url on the last breadcrumb.
The text was updated successfully, but these errors were encountered:
django-blog-zinnia/zinnia/breadcrumbs.py
Line 95 in 881101a
Has an assumption that breadcrumbs(...) will return a non-empty list. However it seems that certain crawlers are getting to the archive pages without a breadcrumb trail. I believe it should be sufficient, in this case to simply check:
before the call to set the url on the last breadcrumb.
The text was updated successfully, but these errors were encountered: