#NEWLINE# @ register . inclusion_tag ( 'zinnia/tags/dummy.html' , takes_context = True ) #NEWLINE# def zinnia_breadcrumbs( context , root_name = _ ( 'Blog' ) , template = 'zinnia/tags/breadcrumbs.html' ) : #NEWLINE# #INDENT# '\n    Return a breadcrumb for the application.\n    ' #NEWLINE# path = context [ 'request' ] . path #NEWLINE# context_object = get_context_first_object ( context , [ 'object' , 'category' , 'tag' , 'author' ] ) #NEWLINE# context_page = context . get ( 'page_obj' ) #NEWLINE# breadcrumbs = retrieve_breadcrumbs ( path , context_object , context_page , root_name ) #NEWLINE# return { #NEWLINE# #INDENT# 'template' : context , #NEWLINE# 'breadcrumbs' : breadcrumbs , #NEWLINE# #UNINDENT# }