|
|
@update :
I solved my error by tweaking a bit your links function :
def links( self ):
links = []
for count, crumb in enumerate( self.crumbs, start = 1 ):
crumb_uri = self._protocol + '/'.join( self.crumbs[ 0:count ] )
links.append({'uri':crumb_uri, 'crumb':crumb})
return links
I also embedded it in a Bootstrap breadcrumb (as suggested earlier) :
% for link in request.bread.links:
<a href="${link['uri']}" rel="nofollow">${link['crumb']}</a> /
% endfor
Thanks again for this useful tool !
Julien
Source: https://faq.remarkbox.com/18991c9c-9ee0-11e7-bece-040140774501
Snapshot: 2026-05-04T21:15:06Z
Generator: Remarkbox 763cacb