[tor-commits] [lego/master] Fix navbar color
    hiro at torproject.org 
    hiro at torproject.org
       
    Tue Aug 20 15:13:25 UTC 2019
    
    
  
commit 95a4347154bfde3808f1760bcda20cc6d1ecef71
Author: hiro <hiro at torproject.org>
Date:   Tue Aug 20 17:13:18 2019 +0200
    Fix navbar color
---
 templates/navbar.html | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/templates/navbar.html b/templates/navbar.html
index 0064779..fa06de2 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -1,4 +1,7 @@
-{% if this.color == 'primary' %}
+{% if not this.color %}
+<div class="container bg-primary">
+  <nav class="navbar no-background navbar-expand-lg navbar-dark fixed-top bg-primary p-4">
+{% elif this.color == 'primary' %}
 <div class="container bg-primary">
   <nav class="navbar no-background navbar-expand-lg navbar-dark fixed-top bg-primary p-4">
 {% else %}
    
    
More information about the tor-commits
mailing list