[tor-commits] [lego/develop] Update to breadcrumbs

hiro at torproject.org hiro at torproject.org
Tue Apr 7 16:13:24 UTC 2020


commit 03fd73a3c602e0bf336678fba18b25b970b1c3de
Author: hiro <hiro at torproject.org>
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>





More information about the tor-commits mailing list