diff --git a/zinnia/breadcrumbs.py b/zinnia/breadcrumbs.py index 4f04ff49e..e71c38772 100644 --- a/zinnia/breadcrumbs.py +++ b/zinnia/breadcrumbs.py @@ -91,7 +91,7 @@ def wrapper(path, model, page, root_name): path = PAGE_REGEXP.sub('', path) breadcrumbs = func(path, model, root_name) if page: - if page.number > 1: + if page.number > 1 and breadcrumbs: breadcrumbs[-1].url = path page_crumb = Crumb(_('Page %s') % page.number) breadcrumbs.append(page_crumb)