Browse Source

Added redirect for medlabboulder.gitlab.io/communityrule > communityrule.info

Nathan Schneider 4 years ago
parent
commit
4fdfed17f4
1 changed files with 10 additions and 3 deletions
  1. 10 3
      _includes/head.html

+ 10 - 3
_includes/head.html

@@ -25,9 +25,16 @@
     g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
   })();
   </script>
-<!-- End Matomo code -->
+  <!-- End Matomo code -->
 
-<!-- Stein -->
-<script src="https://unpkg.com/stein-js-client"></script>
+  <!-- Redirect from Gitlab.io domain -->
+  <script type="text/javascript">
+    if (window.location.href.indexOf("gitlab.io/communityrule") > -1) {
+        window.location.replace("https://communityrule.info");
+    }
+  </script>
+  
+  <!-- Stein database -->
+  <script src="https://unpkg.com/stein-js-client"></script>
 
 </head>