[tor-commits] [community/staging] Change navbar
hiro at torproject.org
hiro at torproject.org
Fri Jul 5 13:13:31 UTC 2019
commit 61346d30021d46c2eeca249020c2cf8976c6d16e
Author: hiro <hiro at torproject.org>
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 %}
More information about the tor-commits
mailing list