diff options
author | Shohei Ueda <30958501+peaceiris@users.noreply.github.com> | 2022-04-24 06:20:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 06:20:18 +0300 |
commit | 28c1165f1761bd8646434148634bc75cf4d066b0 (patch) | |
tree | 231678389c02068d4e3e23521de84908b488958f /layouts | |
parent | 8f2273936b3b2bb054c4020f18fdc2b9564dafb6 (diff) |
feat: manage mathjax with npm (#512)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/mathjax.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/mathjax.html b/layouts/partials/mathjax.html index 72887dca..f3469402 100644 --- a/layouts/partials/mathjax.html +++ b/layouts/partials/mathjax.html @@ -6,6 +6,6 @@ }; </script> -{{ $js := resources.GetRemote "https://cdn.jsdelivr.net/npm/mathjax@3.2.0/es5/tex-mml-chtml.js" }} +{{ $js := resources.Get "mathjax/es5/tex-mml-chtml.js" }} {{ $secureJS := $js | resources.Fingerprint "sha512" }} <script defer type="text/javascript" id="MathJax-script" src="{{ $secureJS.Permalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script> |