mirror of
https://github.com/UniverseDevGroup/pokeworld-website.git
synced 2025-01-22 09:21:59 -05:00
Netlify CMS stuff
This commit is contained in:
parent
d5c6f1df0d
commit
2d180e62b2
3 changed files with 28 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -14,3 +14,6 @@ Gemfile.lock
|
|||
node_modules
|
||||
npm-debug.log*
|
||||
vendor/bundle
|
||||
|
||||
# Local Netlify folder
|
||||
.netlify
|
12
admin/config.yml
Normal file
12
admin/config.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
# config.yml
|
||||
|
||||
backend:
|
||||
name: git-gateway
|
||||
branch: master # Branch to update (optional; defaults to master)
|
||||
media_folder: 'assets/uploads'
|
||||
collections:
|
||||
- name: 'blog'
|
||||
label: 'Blog'
|
||||
folder: '_posts/'
|
||||
fields:
|
||||
- { name: Title }
|
13
admin/index.html
Normal file
13
admin/index.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!-- admin/index.html -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Content Manager</title>
|
||||
</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