Permalink
Browse files

Fource https

  • Loading branch information...
JohnnySun committed Aug 17, 2018
1 parent 3795184 commit c5a285dbb411fc2f53117d482fcd09c26d3a7bb2
Showing with 8 additions and 1 deletion.
  1. +8 −1 _includes/head.html
@@ -1,7 +1,14 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">


<!-- Force HTTPS -->
<script type="text/javascript">
var host = "blog.johnny.moe";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>

<!-- Main JS (navbar.js, katex_init.js and masonry_init.js)-->
<script defer=true src="{{ site.baseurl }}/assets/js/main.min.js"></script>

0 comments on commit c5a285d

Please sign in to comment.