Skip to content

Commit

Permalink
templates: link to local compilations
Browse files Browse the repository at this point in the history
  • Loading branch information
zackschuster committed Sep 29, 2022
1 parent fe786bf commit 7060b06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion templates/_head.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600|Roboto+Mono">
<link rel="stylesheet" href="css/website2.css" />
<link rel="stylesheet" href="https://unpkg.com/@chrisoakman/chessboardjs@1.0.0/dist/chessboard-1.0.0.min.css" integrity="sha384-q94+BZtLrkL1/ohfjR8c6L+A6qzNH9R2hBLwyoAfu3i/WCvQjzL2RQJ3uNHDISdU" crossorigin="anonymous">
<link rel="stylesheet" href="../dist/chessboard-{{version}}.css">
</head>
4 changes: 2 additions & 2 deletions templates/download.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ yarn add @chrisoakman/chessboardjs</pre>
<section>
<h2>Content Delivery Network</h2>
<p>You can use chessboardjs via the <a href="https://unpkg.com/">unpkg CDN</a> with the following links:
<pre class="prettyprint">&lt;link rel="stylesheet" href="https://unpkg.com/@chrisoakman/chessboardjs@1.0.0/dist/chessboard-1.0.0.min.css" integrity="sha384-q94+BZtLrkL1/ohfjR8c6L+A6qzNH9R2hBLwyoAfu3i/WCvQjzL2RQJ3uNHDISdU" crossorigin="anonymous"&gt;</pre>
<pre class="prettyprint">&lt;script src="https://unpkg.com/@chrisoakman/chessboardjs@1.0.0/dist/chessboard-1.0.0.min.js" integrity="sha384-8Vi8VHwn3vjQ9eUHUxex3JSN/NFqUg3QbPyX8kWyb93+8AC/pPWTzj+nHtbC5bxD" crossorigin="anonymous"&gt;&lt;/script&gt;</pre>
<pre class="prettyprint">&lt;link rel="stylesheet" href="https://unpkg.com/@chrisoakman/chessboardjs@{{version}}/dist/chessboard-{{version}}.min.css"&gt;</pre>
<pre class="prettyprint">&lt;script src="https://unpkg.com/@chrisoakman/chessboardjs@{{version}}/dist/chessboard-{{version}}.min.js"&gt;&lt;/script&gt;</pre>
</section>

<section>
Expand Down
4 changes: 2 additions & 2 deletions templates/single-example.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>chessboardjs Example #{{{id}}} - {{{name}}}</title>
<base href="../" />
<link rel="stylesheet" href="https://unpkg.com/@chrisoakman/chessboardjs@1.0.0/dist/chessboard-1.0.0.min.css" integrity="sha384-q94+BZtLrkL1/ohfjR8c6L+A6qzNH9R2hBLwyoAfu3i/WCvQjzL2RQJ3uNHDISdU" crossorigin="anonymous">
<link rel="stylesheet" href="../dist/chessboard-{{version}}.css">
{{#css}}
<style type="text/css">
{{{css}}}
Expand All @@ -23,7 +23,7 @@

{{{chessboardJsScript}}}
{{#includeChessJS}}
<script src="https://cdnjs.cloudflare.com/ajax/libs/chess.js/0.10.2/chess.js" integrity="sha384-s3XgLpvmHyscVpijnseAmye819Ee3yaGa8NxstkJVyA6nuDFjt59u1QvuEl/mecz" crossorigin="anonymous"></script>
<script src="./js/chess-0.10.2.min.js"></script>
{{/includeChessJS}}
<script>
// --- Begin Example JS --------------------------------------------------------
Expand Down

0 comments on commit 7060b06

Please sign in to comment.