forked from quentin/quentin.dufour.io
Add netlify cms support
This commit is contained in:
parent
9a4465e3bf
commit
50f5f85fe6
2 changed files with 24 additions and 0 deletions
10
admin/config.yml
Normal file
10
admin/config.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
backend:
|
||||
name: git-gateway
|
||||
branch: master
|
||||
media_folder: 'assets/uploads'
|
||||
collections:
|
||||
- name: 'blog'
|
||||
label: 'Blog'
|
||||
folder: '_posts/'
|
||||
fields:
|
||||
- { name: Title }
|
14
admin/index.html
Normal file
14
admin/index.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Content Manager</title>
|
||||
<!-- Include the identity widget -->
|
||||
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Include the script that builds the page and powers Netlify CMS -->
|
||||
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue