Feature/docs (#67)
This commit is contained in:
committed by
GitHub
parent
7a1ec55a5c
commit
81ca566b5e
@ -115,7 +115,7 @@ In the newly created `index.html` we add scripts for Static CMS and the Netlify
|
||||
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script src="https://unpkg.com/@staticcms/core@%5E0.1.0/dist/static-cms-core.js" type="text/javascript"></script>
|
||||
<script src="https://unpkg.com/@staticcms/core@%5E1.0.0/dist/static-cms-core.js" type="text/javascript"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -134,7 +134,7 @@ media_folder: source/images/uploads
|
||||
public_folder: /images/uploads
|
||||
|
||||
collections:
|
||||
- title: blog
|
||||
- name: blog
|
||||
label: Blog
|
||||
folder: source/posts/
|
||||
extension: .html.md
|
||||
@ -142,9 +142,9 @@ collections:
|
||||
create: true
|
||||
slug: '{{year}}-{{month}}-{{day}}-{{title}}'
|
||||
fields:
|
||||
- {label: Title, title: title, widget: string}
|
||||
- {label: Publish Date, title: date, widget: datetime}
|
||||
- {label: Body, title: body, widget: markdown}
|
||||
- {label: Title, name: title, widget: string}
|
||||
- {label: Publish Date, name: date, widget: datetime}
|
||||
- {label: Body, name: body, widget: markdown}
|
||||
```
|
||||
|
||||
### Push to GitHub
|
||||
|
Reference in New Issue
Block a user