Browse Source

redirect to https

pull/429/head
lumapu 2 years ago
parent
commit
6d90874724
  1. 3
      layouts/partials/head.html

3
layouts/partials/head.html

@ -10,4 +10,7 @@
{{ $title := print .Title " | " .Site.Title }} {{ $title := print .Title " | " .Site.Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title> <title>{{ $title }}</title>
<script type="text/javascript">
if (window.location.href.match("http://ahoydtu.de")) window.location.protocol='https:'
</script>
</head> </head>

Loading…
Cancel
Save