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

[tor-commits] [manual/master] Add conditional to test if not on homepage



commit 36f646cf559b9d7392a8ad367c720b22ce563ac3
Author: Nicolei Ocana <nicoleiocana@xxxxxxxxx>
Date:   Sat Apr 18 19:59:45 2020 +0000

    Add conditional to test if not on homepage
---
 templates/layout.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/layout.html b/templates/layout.html
index 5b75755..e58e0a8 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -21,7 +21,7 @@
     </div>
     <div class="container-fluid">
       <div class="row flex-xl-nowrap">
-	{% include 'sidenav.html' %}
+	      {% if this.title != "Tor Browser User Manual" %} {% include 'sidenav.html' %} {% endif %}
         <main role="main" class="col-sm-12 col-xs-12  ml-sm-auto col-md-9 col-lg-9 {{ bag('alternatives', this.alt, 'order') }}">
           {% block body %}{% endblock %}
         </main>

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