[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [community/master] Change navbar
commit 61346d30021d46c2eeca249020c2cf8976c6d16e
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Wed Jun 19 14:39:57 2019 +0200
Change navbar
---
templates/navbar.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/templates/navbar.html b/templates/navbar.html
index a7d998b..54f75e2 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -24,14 +24,14 @@
<li{% if this.path == item.path %} class="nav-item active" {% else %} class="nav-item"{% endif %}>
{% set link = site.get(item.path) %}
{% if link %}
- <a class="nav-link" href="{{ item.path|url }}">
+ <a class="nav-link" href="{{ item.path|url(alt=id) }}">
{% else %}
<a class="nav-link" href="{{ item.path }}">
{% endif %}
{{ item.label }}
- {% if this.path == item.path %}
+ {% if this.path == item.path %}
<span class="sr-only">(current)</span>
- {% endif %}
+ {% endif %}
</a>
</li>
{% endfor %}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits