[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [lego/master] Fix templates



commit 25d6ecd37f7a75fb8e394e8e94bcdcf257158a4a
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Fri Aug 23 14:10:38 2019 +0200

    Fix templates
---
 templates/navbar.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/navbar.html b/templates/navbar.html
index 782474e..db78178 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -31,7 +31,7 @@
             {% elif item.label == "Documentation" or item.label == "Blog" or item.label == "Jobs" %}
               <a class="nav-link" href="{{ item.path }}">
             {% else %}
-              <a class="nav-link" href="{{ item.path|url(alt=this.alt) }}">
+              <a class="nav-link" href="{{ item.path }}{{ this.alt }}">
             {% endif %}
             {{ _(item.label) }}
               {% if this.path == item.path %}

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits