Fix breadcrumb whitespacing
Committed ea541e
--- a/web/framework/templates/render_breadcrumbs.html
+++ b/web/framework/templates/render_breadcrumbs.html
-$def with (breadcrumbs, fullpath, separator="▸", padding=" ")
+$def with (breadcrumbs, fullpath, separator="▸", padding=" ")
$ """
$ Render a `separator` delimited list of linkified `breadcrumbs`.
$
$ crumb_icon, crumb_classes = None, None
$if isinstance(crumb_title, tuple):
$ crumb_icon, crumb_classes, crumb_title = crumb_title
- $ path = path + "/" + crumb_path
$ ups = " ".join(["up"] * remaining)
$ remaining = remaining - 1
<span>\
$if crumb_icon:
<span class="crumb-icon-$crumb_icon"></span> \
- <a href=$path \
+ $if path:
+ $:padding
+ $ path = path + "/" + crumb_path
+ <a href=$path \
$if crumb_classes:
class="$' '.join(crumb_classes)"
rel="$ups">$:crumb_title</a>\