diff --git a/website/docs/gettingStarted.html b/website/docs/gettingStarted.html index d2d8815..799dd51 100644 --- a/website/docs/gettingStarted.html +++ b/website/docs/gettingStarted.html @@ -28,9 +28,9 @@
Loading the script from the cdn is quite straight forward. If you copy the below example code, you need to do nothing else, impress will be loaded automatically.
Direct links to different versions of the impress.js file
Head to the releases tab and download the source code as zip or as a tarball. Go ahead and unzip / untar it. You need to copy the folder /js/ into the folder you are working in. Optionally, if you want to make your life a bit easier, you can copy also copy the folder /css/ in there.
diff --git a/website/docs/src/build.js b/website/docs/src/build.js index 28d58c5..32a3267 100644 --- a/website/docs/src/build.js +++ b/website/docs/src/build.js @@ -432,6 +432,8 @@ function generateGettingStarted ( inputHTML ) { } else { checkedLink = '/docs/plugins' + link.slice( 12, link.length ) + '.html'; }; + } else if ( link.slice( 0, 7 ) === 'http://' || link.slice( 0, 8 ) === 'https://' ) { + checkedLink = link; } html = html.slice( 0, parseInt( letter ) + 9 ) + checkedLink + html.slice( parseInt( letter ) + i, parseInt( html.length ) ); };