Skip to content

Commit

Permalink
Netlify CMS
Browse files Browse the repository at this point in the history
  • Loading branch information
hiensarahly committed Jul 22, 2019
1 parent 54d0ebc commit 7dd0a48
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
16 changes: 16 additions & 0 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
backend:
name: git-gateway
branch: master

media_folder: "static/img/uploads"
public_folder: "img/uploads"

collections:
- name: "myJulySite"
label: "July Site"
folder: "content/post"
create: true
slug: "{{year}}-{{slug}}"
fields:
- {label: "Title", name: "title", widget: "string", required: true}

12 changes: 12 additions & 0 deletions static/admin/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!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>

0 comments on commit 7dd0a48

Please sign in to comment.