An additional option of using jsDelivr

As brought up in #1711 , just using upkg lead to an issue and the documentation did not give desired result for a new user when unpkg.com had an outage. And added a comment the code mentioning that jsdelivr is also an option in case this happens again.
This commit is contained in:
Maharshi Raval 2018-09-05 12:41:44 +05:30 committed by GitHub
parent 0d0180966a
commit f322118b54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,17 @@ The first file, `admin/index.html`, is the entry point for the Netlify CMS admin
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
</body>
</html>
<!--
The main script that builds the page and powers the Netlify CMS can be included from
two deffirent sources,
- https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js
- https://cdn.jsdelivr.net/npm/netlify-cms@^2.0.0/dist/netlify-cms.js
For any reason if the script url used above fails, the other source can be used instead.
-->
```
The second file, `admin/config.yml`, is the heart of your Netlify CMS installation, and a bit more complex. The [Configuration](#configuration) section covers the details.