This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sis-site.git

commit 0eb2771d77eefaba82db8e90ffa5c98650adca1f
Author: Martin Desruisseaux <martin.desruisse...@geomatys.com>
AuthorDate: Thu Oct 7 18:50:26 2021 +0200

    Replace language detection by a permanent redirection to English version of 
developer guide.
---
 static/book/index.html | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/static/book/index.html b/static/book/index.html
index 2c2b26f..010595d 100644
--- a/static/book/index.html
+++ b/static/book/index.html
@@ -3,21 +3,9 @@
 <html>
   <head>
     <title>Apache SIS™ developer guide</title>
+    <link rel="canonical" href="https://sis.apache.org"/>
+    <meta name="robots" content="noindex">
     <meta charset="UTF-8">
-    <script language="javascript" type="text/javascript">
-      <!--
-        switch (navigator.language) {
-          case "fr": window.location = "fr/developer-guide.html"; break;
-          default:   window.location = "en/developer-guide.html"; break;
-        }
-      // -->
-    </script>
+    <meta http-equiv="refresh" content="0; url=en/developer-guide.html">
   </head>
-  <body>
-    <h1>Apache SIS™ developer guide</h1>
-    <ul>
-      <li><a href="en/developer-guide.html">English</a></li>
-      <li><a href="fr/developer-guide.html">Français</a></li>
-    </ul>
-  </body>
 </html>

Reply via email to