Commit 53a0858f authored by Luc Didry's avatar Luc Didry
Browse files

Add HTTPS redirection

parent e98b45de
Pipeline #11926 passed with stages
in 18 seconds
......@@ -39,6 +39,12 @@
{{ end }}
<script src="{{ .Site.BaseURL }}/assets/js/jquery.min.js"></script>
{{ .Hugo.Generator }}
<script>
var loc = window.location.href+'';
if (loc.indexOf('http://')==0){
window.location.href = loc.replace('http://','https://');
}
</script>
</head>
<body class="is-loading">
<div id="wrapper">
......
Supports Markdown
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