[tor-commits] [tpo/develop] Makes /download min-header work in all locales
gus at torproject.org
gus at torproject.org
Fri May 22 13:29:02 UTC 2020
commit 04f067300ae8dc89e155d8e786f683b611a3f8dc
Author: Antonela <hola at antonela.me>
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' %}
More information about the tor-commits
mailing list