Skip to content

Commit

Permalink
Switch to jsdelivr, as unpkg has been slow lately
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Eskild Steensen committed Feb 17, 2023
1 parent 545b687 commit 3b043e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/site/_includes/components/calloutScript.njk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script src="https://unpkg.com/lucide@0"></script>
<script src="https://cdn.jsdelivr.net/npm/lucide@0.115.0/dist/umd/lucide.min.js"></script>
<script>
// Create callout icons
window.addEventListener("load", () => {
Expand Down
8 changes: 4 additions & 4 deletions src/site/_includes/components/pageheader.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://unpkg.com/mermaid/dist/mermaid.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script>
mermaid.initialize({
startOnLoad: true,
Expand All @@ -10,10 +10,10 @@

{%include "components/calloutScript.njk"%}

<script src="//unpkg.com/force-graph"></script>
<script src="https://cdn.jsdelivr.net/npm/force-graph@1.43.0/dist/force-graph.min.js"></script>

<script defer src="https://unpkg.com/@alpinejs/persist@3.x.x/dist/cdn.min.js"></script>
<script src="//unpkg.com/alpinejs" defer></script>
<script defer src="https://cdn.jsdelivr.net/npm/@alpinejs/persist@3.11.1/dist/cdn.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/alpinejs@3.11.1/dist/cdn.min.js" defer></script>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/themes/prism-okaidia.min.css" integrity="sha512-mIs9kKbaw6JZFfSuo+MovjU+Ntggfoj8RwAmJbVXQ5mkAX5LlgETQEweFPI18humSPHymTb5iikEOKWF7I8ncQ==" crossorigin="anonymous" referrerpolicy="no-referrer"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
Expand Down

0 comments on commit 3b043e8

Please sign in to comment.