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

[tor-commits] [tpo/develop] Makes /download min-header work in all locales



commit 04f067300ae8dc89e155d8e786f683b611a3f8dc
Author: Antonela <hola@xxxxxxxxxxx>
Date:   Fri Feb 21 13:48:14 2020 -0300

    Makes /download min-header work in all locales
    
    https://dip.torproject.org/torproject/web/tpo/issues/59
---
 templates/meta.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/meta.html b/templates/meta.html
index 5a899f23..9e9c26b0 100644
--- a/templates/meta.html
+++ b/templates/meta.html
@@ -20,7 +20,7 @@
 <title>{{ _("Tor Project") }} | {% block title %}{{ this.title }}{% endblock %}</title>
 <body class="no-gutters">
   <header>
-    {% if this.section == "Download" %}
+    {% if this.path == '/download' %}
       {% include 'navbar-min.html' %}
     {% else %}
       {% include 'navbar.html' %}



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