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

[tor-commits] [atlas/master] Remove slashes from the fragment identifiers



commit e8f6bb431ad668fd2400b6ca6c6935f1cbe104b0
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date:   Fri May 12 09:15:51 2017 +0000

    Remove slashes from the fragment identifiers
    
    Found using the W3C Link Checker [0].
    
    Closes #22237.
    
    [0] https://validator.w3.org/checklink
---
 index.html               |  6 +++---
 templates/search/do.html | 15 +++++++--------
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/index.html b/index.html
index 99d56e4..bbd70c2 100644
--- a/index.html
+++ b/index.html
@@ -37,9 +37,9 @@
           </form>
           <div class="nav-collapse">
             <ul class="nav navbar-nav">
-              <li><a href="#/">Home</a></li>
-              <li><a href="#/about">About</a></li>
-              <li><a href="#/top10">Top 10 Relays</a></li>
+              <li><a href="#">Home</a></li>
+              <li><a href="#about">About</a></li>
+              <li><a href="#top10">Top 10 Relays</a></li>
             </ul>
           </div>
         </div>
diff --git a/templates/search/do.html b/templates/search/do.html
index 7122ede..02dbe1a 100644
--- a/templates/search/do.html
+++ b/templates/search/do.html
@@ -18,9 +18,8 @@
         <p>Atlas is unable to get a response from its backend server. This
         probably means that the backend server is unavailable right now. This
         can also happen, however, if you did not format your query correctly.
-        Please have a look at <a href="https://atlas.torproject.org/#about";>this
-        page</a> that explains what type of search queries are supported by
-        Atlas.</p>
+        Please have a look at <a href="#about">the About page</a> that explains
+        what type of search queries are supported by Atlas.</p>
     </div>
     <% } else if (error == 3) { %>
     <div class="alert alert-error">
@@ -32,11 +31,11 @@
     </div>
     <% } else if (error == 5) { %>
     <div class="alert alert-error">
-        <strong>No query submitted!</strong><p>The search query was found
-	to be empty, which is not supported. You must enter a search query
-	in order to generate results. Please have a look at <a href="#/about">
-        this page</a> that explains what type of search queries are supported
-        by Atlas.</p>
+        <strong>No query submitted!</strong>
+        <p>The search query was found to be empty, which is not supported. You
+        must enter a search query in order to generate results. Please have a
+        look at <a href="#about">the About page</a> that explains what type of
+        search queries are supported by Atlas.</p>
     </div>
     <% } %>
 <% } else { %>

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