[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [lego/master] Update to breadcrumbs
commit 03fd73a3c602e0bf336678fba18b25b970b1c3de
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Thu Sep 12 17:04:49 2019 +0200
Update to breadcrumbs
---
templates/breadcrumb.html | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/templates/breadcrumb.html b/templates/breadcrumb.html
index d8518ae..210cb03 100644
--- a/templates/breadcrumb.html
+++ b/templates/breadcrumb.html
@@ -1,7 +1,11 @@
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
{% if this.parent %}
- <li class="breadcrumb-item active" aria-current="page">{{ this.parent.title }}</li>
+ <li class="breadcrumb-item active" aria-current="page">
+ <a href="{{ this.parent.path|url }}">
+ {{ this.parent.title }}
+ </a>
+ </li>
{% endif %}
<li class="breadcrumb-item active" aria-current="page">{{ this.title }}</li>
</ol>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits