mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-11-21 22:01:31 +00:00
Remove www. em javascript
This commit is contained in:
parent
86c24048fd
commit
f9deec330c
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user