[tor-commits] [bridgedb/master] Make assets path absolute to site root

aagbsn at torproject.org aagbsn at torproject.org
Wed Apr 17 00:26:44 UTC 2013


commit f04ac1358bad7cf69604e86aafae266b47c7c516
Author: aagbsn <aagbsn at extc.org>
Date:   Tue Mar 26 00:36:51 2013 +0000

    Make assets path absolute to site root
---
 lib/bridgedb/templates/base.html |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/bridgedb/templates/base.html b/lib/bridgedb/templates/base.html
index 1eef8eb..affff60 100644
--- a/lib/bridgedb/templates/base.html
+++ b/lib/bridgedb/templates/base.html
@@ -8,8 +8,8 @@
 <meta name="author" content="The Tor Project">
 
 <!-- Le styles -->
-<link href="assets/bootstrap.min.css" rel="stylesheet">
-<link href="assets/custom.css" rel="stylesheet">
+<link href="/assets/bootstrap.min.css" rel="stylesheet">
+<link href="/assets/custom.css" rel="stylesheet">
 </head>
 <body>
 <div class="container-narrow">
@@ -19,7 +19,7 @@
   <ul class="nav nav-pills pull-right">
     <h3 class="muted">BridgeDB</h3>
   </ul>
-  <img src="assets/tor.svg" height="10%" width="15%"/>
+  <img src="/assets/tor.svg" height="10%" width="15%"/>
 
 </div>
 





More information about the tor-commits mailing list