Skip to content

Commit

Permalink
fix: load highlight.min.js via https
Browse files Browse the repository at this point in the history
Because it fails to load on https sites with mixed content warnings.
  • Loading branch information
nytopop committed Aug 28, 2019
1 parent 10edb0b commit 1c5571d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="{{ site.url }}/assets/css/main.css" />
<link rel="shortcut icon" type="image/x-icon" href="/{{ site.favicon }}" />
<link rel="stylesheet" href="{{ site.url }}/assets/css/agate.css" />
<script src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
Expand Down

0 comments on commit 1c5571d

Please sign in to comment.