mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-11-22 06:11:30 +00:00
Remove www. em javascript
This commit is contained in:
parent
86c24048fd
commit
f9deec330c
@ -1,6 +1,11 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ site.LanguageCode | default "en-us" }}">
|
<html lang="{{ site.LanguageCode | default "en-us" }}">
|
||||||
{{ partial "site_head" . }}
|
{{ 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>
|
<body>
|
||||||
<nav class="main">
|
<nav class="main">
|
||||||
<div class="body-width">
|
<div class="body-width">
|
||||||
|
Loading…
Reference in New Issue
Block a user