[tor-commits] [tpo/master] Use navbar-min in Download section

hiro at torproject.org hiro at torproject.org
Thu Feb 20 13:29:05 UTC 2020


commit 9821026a8c55dd805f5c57ae0955ee7ed5becaa7
Author: hiro <hiro at torproject.org>
Date:   Tue Dec 10 13:03:47 2019 +0100

    Use navbar-min in Download section
---
 templates/meta.html | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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





More information about the tor-commits mailing list