[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [lego/master] Use only one about menu in tpo
commit c51ef99eba57a7481b12dfee061adbdf6ef9b2c8
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Mon Nov 11 17:04:58 2019 +0100
Use only one about menu in tpo
---
templates/pagenav.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/pagenav.html b/templates/pagenav.html
index febbef1..8bc5c8f 100644
--- a/templates/pagenav.html
+++ b/templates/pagenav.html
@@ -2,7 +2,7 @@
<div class="row flex-xl-nowrap {{ bag('alternatives', this.alt, 'order') }}">
<div class="row col-12 justify-content-center">
<ul class="nav">
- {% set menubag = this.section_id + '+' + this.alt %}
+ {% set menubag = this.section_id %}
{% for id, item in bag(menubag).items() %}
<li{% if this.path == '/' + item.path %} class="nav-item active border-active" {% else %} class="nav-item" {% endif %}>
{% set item_path = site.get(item.path) %}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits