Skip to content

Commit

Permalink
cdn.jsdelivr.net/npm -> unpkg.com
Browse files Browse the repository at this point in the history
  • Loading branch information
forFudan committed Mar 12, 2024
1 parent 34585b7 commit d60a6c6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions _includes/components/mermaid.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %};
Expand All @@ -33,7 +33,7 @@
{% if site.mermaid.path %}
<script src="{{ site.mermaid.path | relative_url }}"></script>
{% else %}
<script src="https://cdn.jsdelivr.net/npm/mermaid@{{ site.mermaid.version }}/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@{{ site.mermaid.version }}/dist/mermaid.min.js"></script>
{% endif %}

<script>
Expand Down
6 changes: 3 additions & 3 deletions _includes/katex.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<!-- Copied from https://katex.org/docs/browser.html#starter-template -->

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha384-Juol1FqnotbkyZUT5Z7gUPjQ9gzlwCENvUZTpQBAPxtusdwFLRy382PSDx5UUJ4/" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/katex.min.css" integrity="sha384-Juol1FqnotbkyZUT5Z7gUPjQ9gzlwCENvUZTpQBAPxtusdwFLRy382PSDx5UUJ4/" crossorigin="anonymous">

<!-- The loading of KaTeX is deferred to speed up page rendering -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-97gW6UIJxnlKemYavrqDHSX3SiygeOwIZhwyOKRfSaf0JWKRVj9hLASHgFTzT+0O" crossorigin="anonymous">
<script defer src="https://unpkg.com/[email protected]/dist/katex.min.js" integrity="sha384-97gW6UIJxnlKemYavrqDHSX3SiygeOwIZhwyOKRfSaf0JWKRVj9hLASHgFTzT+0O" crossorigin="anonymous">
</script>

<!-- Automatically display code inside script tags with type=math/tex using KaTeX -->
<script defer src="/just-the-docs-tests/assets/js/mathtex-script-type.js">
</script>

<!-- To automatically render math in text elements, include the auto-render extension: -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous"
<script defer src="https://unpkg.com/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous"
onload="renderMathInElement(document.body, {
globalGroup: true,
trust: true,
Expand Down
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ nav_order: 1
>[**光華字根**](./docs/practice.html) ·
>[**星陳字根**](./star/practice/practice.html)
>拆分及编码查询:
>[**光華方案**](./light/chaifen/) ·
>[**星陳方案**](./star/chaifen/)
>[**日月光華**](./light/chaifen/) ·
>[**爛然星陳**](./star/chaifen/)
<!-- {: .note }
>本页面介绍的是宇浩·光華,其他版本信息请移步导航栏 -->
Expand Down
4 changes: 2 additions & 2 deletions joy/chaifen/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ <h6><a href="https://yuhao.forfudan.com/">點擊返回官網首頁</a></h6>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
<script src="https://unpkg.com/[email protected]/dist/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
<script src="https://unpkg.com/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</body>
Expand Down
4 changes: 2 additions & 2 deletions light/chaifen/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ <h6>(<a href="https://yuhao.forfudan.com/">點擊這裏返回宇浩官網首頁<
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
<script src="https://unpkg.com/[email protected]/dist/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
<script src="https://unpkg.com/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</body>
Expand Down
4 changes: 2 additions & 2 deletions star/chaifen/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ <h6><a href="https://yuhao.forfudan.com/">點擊返回官網首頁</a></h6>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
<script src="https://unpkg.com/[email protected]/dist/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
<script src="https://unpkg.com/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</body>
Expand Down

0 comments on commit d60a6c6

Please sign in to comment.