Release 0.6.0
This commit is contained in:
parent
19860208f4
commit
c60f73a0d8
@ -26,7 +26,7 @@ CMS.registerPreviewStyle(file);
|
|||||||
**Example:**
|
**Example:**
|
||||||
```html
|
```html
|
||||||
// index.html
|
// index.html
|
||||||
<script src="https://unpkg.com/netlify-cms@~0.5/dist/cms.js"></script>
|
<script src="https://unpkg.com/netlify-cms@^0.6.0/dist/cms.js"></script>
|
||||||
<script>
|
<script>
|
||||||
CMS.registerPreviewStyle("/example.css");
|
CMS.registerPreviewStyle("/example.css");
|
||||||
</script>
|
</script>
|
||||||
@ -67,7 +67,7 @@ Registers a template for a collection.
|
|||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://unpkg.com/netlify-cms@~0.5/dist/cms.js"></script>
|
<script src="https://unpkg.com/netlify-cms@^0.6.0/dist/cms.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var PostPreview = createClass({
|
var PostPreview = createClass({
|
||||||
render: function() {
|
render: function() {
|
||||||
|
@ -35,7 +35,7 @@ Param | Type | Description
|
|||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://unpkg.com/netlify-cms@~0.5/dist/cms.js"></script>
|
<script src="https://unpkg.com/netlify-cms@^0.6.0/dist/cms.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var CategoriesControl = createClass({
|
var CategoriesControl = createClass({
|
||||||
handleChange: function(e) {
|
handleChange: function(e) {
|
||||||
@ -75,7 +75,7 @@ Register a block level component for the Markdown editor:
|
|||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://unpkg.com/netlify-cms@~0.5/dist/cms.js"></script>
|
<script src="https://unpkg.com/netlify-cms@^0.6.0/dist/cms.js"></script>
|
||||||
<script>
|
<script>
|
||||||
CMS.registerEditorComponent({
|
CMS.registerEditorComponent({
|
||||||
// Internal id of the component
|
// Internal id of the component
|
||||||
|
@ -25,11 +25,11 @@ The admin interface is a single-page app with the entry point stored in a static
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Content Manager</title>
|
<title>Content Manager</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@~0.5/dist/cms.css" />
|
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@^0.6.0/dist/cms.css" />
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script src="https://unpkg.com/netlify-cms@~0.5/dist/cms.js"></script>
|
<script src="https://unpkg.com/netlify-cms@^0.6.0/dist/cms.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
```
|
```
|
||||||
|
@ -37,12 +37,12 @@ The first file, `admin/index.html`, is the entry point for the Netlify CMS admin
|
|||||||
<title>Content Manager</title>
|
<title>Content Manager</title>
|
||||||
|
|
||||||
<!-- Include the styles for the Netlify CMS UI, after your own styles -->
|
<!-- Include the styles for the Netlify CMS UI, after your own styles -->
|
||||||
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@^0.5.0/dist/cms.css" />
|
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@^0.6.0/dist/cms.css" />
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Include the script that builds the page and powers Netlify CMS -->
|
<!-- Include the script that builds the page and powers Netlify CMS -->
|
||||||
<script src="https://unpkg.com/netlify-cms@^0.5.0/dist/cms.js"></script>
|
<script src="https://unpkg.com/netlify-cms@^0.6.0/dist/cms.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
```
|
```
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "netlify-cms",
|
"name": "netlify-cms",
|
||||||
"version": "0.5.1",
|
"version": "0.6.0",
|
||||||
"description": "Netlify CMS lets content editors work on structured content stored in git",
|
"description": "Netlify CMS lets content editors work on structured content stored in git",
|
||||||
"main": "dist/cms.js",
|
"main": "dist/cms.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user