fix broken link in getting started
This commit is contained in:
@@ -28,9 +28,9 @@
|
||||
<p>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.</p>
|
||||
<p><strong>Direct links to different versions of the impress.js file</strong></p>
|
||||
<ul>
|
||||
<li><a href="">V2.0.0</a></li>
|
||||
<li><a href="">V1.1.0</a></li>
|
||||
<li><a href="">Source</a></li>
|
||||
<li><a href="https://cdn.jsdelivr.net/gh/impress/impress.js@2.0.0/js/impress.js">V2.0.0</a></li>
|
||||
<li><a href="https://cdn.jsdelivr.net/gh/impress/impress.js@1.1.0/js/impress.js">V1.1.0</a></li>
|
||||
<li><a href="https://cdn.jsdelivr.net/gh/impress/impress.js/js/impress.js">Source</a></li>
|
||||
</ul>
|
||||
<h3>Download the file to your PC</h3>
|
||||
<p>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 <em>/js/</em> 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 <em>/css/</em> in there.</p>
|
||||
|
||||
@@ -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 ) );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user