Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yihui/hugo-xmag.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2022-02-17 06:47:47 +0300
committerYihui Xie <xie@yihui.name>2022-02-17 06:47:47 +0300
commit870785822ce48671fb93e2c6adb67808a5e23782 (patch)
treee4e8da071e65926086976f876b7ece5bdf2d6e65
parent337a3a72f8f6cde75a535b8f1bab27491c1b307c (diff)
cdn.bootcss.com doesn't seem to be stable
-rw-r--r--layouts/partials/footer.html4
-rw-r--r--layouts/partials/head_custom.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 3ea6bc9..6071ad6 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -20,8 +20,8 @@
{{ end }}
{{ if and (not .Params.disable_highlight) (in (string .Content) "</pre>") }}
-<script src="//cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
-<script src="//cdn.bootcss.com/highlight.js/9.12.0/languages/r.min.js"></script>
+<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
+<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/r.min.js"></script>
<script>
hljs.configure({languages: []});
hljs.initHighlightingOnLoad();
diff --git a/layouts/partials/head_custom.html b/layouts/partials/head_custom.html
index c37918d..960789b 100644
--- a/layouts/partials/head_custom.html
+++ b/layouts/partials/head_custom.html
@@ -1 +1 @@
-<link href="//cdn.bootcss.com/highlight.js/9.12.0/styles/github.min.css" rel="stylesheet">
+<link href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css" rel="stylesheet">