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

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



commit 9821026a8c55dd805f5c57ae0955ee7ed5becaa7
Author: hiro <hiro@xxxxxxxxxxxxxx>
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>



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