Feature/docs (#67)

This commit is contained in:
Daniel Lautzenheiser
2022-11-04 17:41:12 -04:00
committed by GitHub
parent 7a1ec55a5c
commit 81ca566b5e
152 changed files with 1862 additions and 3832 deletions

View File

@ -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