Skip to content

Commit

Permalink
Fource https
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnySun committed Aug 17, 2018
1 parent 3795184 commit c5a285d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
@@ -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>

Expand Down

0 comments on commit c5a285d

Please sign in to comment.