7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-25 05:15:45 +00:00

Remove www. em javascript

This commit is contained in:
Hugo Peixoto 2021-11-17 23:44:52 +00:00
parent 86c24048fd
commit f9deec330c

View File

@ -1,6 +1,11 @@
<!DOCTYPE html>
<html lang="{{ site.LanguageCode | default "en-us" }}">
{{ partial "site_head" . }}
<script type="text/javascript">
if (window.location.hostname == "www.ansol.org" {
window.location = window.location.href.replace("www.ansol.org", "ansol.org");
}
</script>
<body>
<nav class="main">
<div class="body-width">