Commit 00e216a8 authored by Bastien Le Querrec's avatar Bastien Le Querrec

redirect to domain name without www.

parent 45dd743a
Pipeline #310 passed with stages
in 15 seconds
......@@ -61,6 +61,14 @@
}
</script>
{{ end }}
{{ if not .Site.IsServer }}
<script type="text/javascript">
if (location.hostname != "silence.im") {
window.location.replace("https://silence.im" + window.location.pathname);
}
</script>
{{ end }}
{{ partial "banner" . }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment