[tor-commits] [lego/develop] Update to breadcrumbs
hiro at torproject.org
hiro at torproject.org
Tue Apr 7 16:13:24 UTC 2020
commit a6ee2f2d78b5cafd91174cca31508c1240934a62
Author: hiro <hiro at torproject.org>
Date: Thu Sep 12 18:09:41 2019 +0200
Update to breadcrumbs
---
templates/macros/parent.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/macros/parent.html b/templates/macros/parent.html
index 8447725..1db15e4 100644
--- a/templates/macros/parent.html
+++ b/templates/macros/parent.html
@@ -4,12 +4,12 @@
{% for _ in range(1, 5) %}
{% if vars.update({'parent': item.parent}) %} {% endif %}
{% if vars.parent %}
- {% if vars.parentvars.parentvars.parent.path == "/" %}
+ {% if vars.parent.path == "/" %}
{# break #}
{% else %}
<li class="breadcrumb-item active" aria-current="page">
<a href="{{ vars.parent.path|url }}">
- {{ vars.parentvars.parent.title }}
+ {{ vars.parent.title }}
</a>
</li>
{% endif %}
More information about the tor-commits
mailing list