Skip to content

Commit

Permalink
fix: missing cache for some scripts + css
Browse files Browse the repository at this point in the history
  • Loading branch information
encody committed Dec 23, 2023
1 parent 1d4530e commit 79d0a47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
3 changes: 2 additions & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
src='{{ (resources.GetRemote "https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.7.0/highlight.min.js").RelPermalink }}'></script>
<script
src='{{ (resources.GetRemote "https://cdn.jsdelivr.net/npm/highlightjs-solidity@2.0.5/dist/solidity.min.js").RelPermalink }}'></script>
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.7.0/build/languages/x86asm.min.js"></script>
<script
src='{{ (resources.GetRemote "https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.7.0/build/languages/x86asm.min.js").RelPermalink }}'></script>

<link
href='{{ (resources.GetRemote "https://cdn.jsdelivr.net/npm/@master/normal.css@1.9.7/index.min.css").RelPermalink }}'
Expand Down
11 changes: 3 additions & 8 deletions layouts/partials/katex.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{{/* https://katex.org/docs/browser.html */}}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css"
integrity="sha384-GvrOXuhMATgEsSwCs4smul74iXGOixntILdUW9XmUC6+HX0sLNAK3q71HotJqlAn" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"
integrity="sha384-cpW21h6RZv/phavutF+AuVYrr+dA8xD9zs6FwLpaCct6O9ctzYFfFr4dgmgccOTx"
crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"
integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05"
crossorigin="anonymous"></script>
<link rel="stylesheet" href='{{ (resources.GetRemote "https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css").RelPermalink }}'>
<script defer src='{{ (resources.GetRemote "https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js").RelPermalink }}'></script>
<script defer src='{{ (resources.GetRemote "https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js").RelPermalink }}'></script>

{{/* Support inline, single-dollar delimiters */}}
<script>
Expand Down

0 comments on commit 79d0a47

Please sign in to comment.