[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [lego/develop] Update to breadcrumbs
commit a6ee2f2d78b5cafd91174cca31508c1240934a62
Author: hiro <hiro@xxxxxxxxxxxxxx>
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 %}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits