[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [newsletter/master] Use relative links in navbar
commit d4d382eb26617cf5817650bfb7067d5e59653215
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Thu Jan 3 13:46:19 2019 +0100
Use relative links in navbar
---
templates/navbar.html | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/templates/navbar.html b/templates/navbar.html
index 5cc4385..b37510a 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -15,7 +15,7 @@
{% set menubag = 'menu+' + this.alt %}
{% for id, item in bag(menubag).items() %}
<li{% if this.is_child_of(item.path) %} class="nav-item active" {% else %} class="nav-item"{% endif %}>
- <a class="nav-link" href="{{ item.path }}">{{ item.label }}
+ <a class="nav-link" href="{{ item.path|url }}">{{ item.label }}
{% if this.is_child_of(item.path) %}
<span class="sr-only">(current)</span>
{% endif %}
@@ -28,5 +28,3 @@
</div>
</nav>
-
-
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits