Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

remove www script

should not be in template
  • Loading branch information
wslack committed Jan 24, 2018
1 parent 65773fc commit 325aadf7aad8e94798980b6a3d096a30b7e4ac7b
Showing with 0 additions and 5 deletions.
  1. +0 −5 _includes/head.html
@@ -23,9 +23,4 @@

<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
<script>
if (/^www\./.test(window.location.hostname)) {
window.location = window.location.href.replace('www.', '');
}
</script>
</head>

0 comments on commit 325aadf

Please sign in to comment.
You can’t perform that action at this time.