From d60a6c62f1c0a4b9196e2d18dfc671af27d52877 Mon Sep 17 00:00:00 2001 From: forFudan Date: Tue, 12 Mar 2024 17:30:26 +0100 Subject: [PATCH] cdn.jsdelivr.net/npm -> unpkg.com --- _includes/components/mermaid.html | 4 ++-- _includes/katex.html | 6 +++--- index.md | 4 ++-- joy/chaifen/index.html | 4 ++-- light/chaifen/index.html | 4 ++-- star/chaifen/index.html | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/_includes/components/mermaid.html b/_includes/components/mermaid.html index a99a5630..37440011 100644 --- a/_includes/components/mermaid.html +++ b/_includes/components/mermaid.html @@ -18,7 +18,7 @@ {% if site.mermaid.path %} import mermaid from '{{ site.mermaid.path | relative_url }}'; {% else %} - import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@{{ site.mermaid.version }}/dist/mermaid.esm.min.mjs'; + import mermaid from 'https://unpkg.com/mermaid@{{ site.mermaid.version }}/dist/mermaid.esm.min.mjs'; {% endif %} var config = {% include mermaid_config.js %}; @@ -33,7 +33,7 @@ {% if site.mermaid.path %} {% else %} - + {% endif %} @@ -11,7 +11,7 @@ - - - diff --git a/light/chaifen/index.html b/light/chaifen/index.html index 29753da4..7faaefcf 100644 --- a/light/chaifen/index.html +++ b/light/chaifen/index.html @@ -90,10 +90,10 @@
(點擊這裏返回宇浩官網首頁< - - diff --git a/star/chaifen/index.html b/star/chaifen/index.html index 33921abc..86a790d0 100644 --- a/star/chaifen/index.html +++ b/star/chaifen/index.html @@ -94,10 +94,10 @@
點擊返回官網首頁
- -