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

gus at torproject.org gus at torproject.org
Thu Apr 30 14:32:16 UTC 2020


commit 36f646cf559b9d7392a8ad367c720b22ce563ac3
Author: Nicolei Ocana <nicoleiocana at gmail.com>
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>



More information about the tor-commits mailing list