Skip to content

Commit

Permalink
更换为 jsdelivr CDN
Browse files Browse the repository at this point in the history
[现在这个](https://www.jsdelivr.com/package/npm/@highlightjs/cdn-assets) 和 bootcss 上的是一样的。
  • Loading branch information
renbaoshuo authored Oct 11, 2020
1 parent e993062 commit 4a5c935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/_blocks/scripts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var app = new Vue({
</script>

<% if (site.customConfig.renderCode) { %>
<script src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad()
</script>
Expand Down

0 comments on commit 4a5c935

Please sign in to comment.