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

hiro at torproject.org hiro at torproject.org
Tue Dec 10 12:03:53 UTC 2019


commit ca16fbc3cf4ddf882e04373e6d8ae194b7b23b13
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