+ );
+ }
+}
+
+export default AdminPage;
diff --git a/static/config.yml b/static/config.yml
new file mode 100644
index 0000000..8636e3a
--- /dev/null
+++ b/static/config.yml
@@ -0,0 +1,19 @@
+backend:
+ name: github
+ repo: kalinchernev/gatsby-jammin # Path to your Github repository
+ branch: master # Branch to update (master by default)
+
+media_folder: "static/img" # Folder where user uploaded files should go
+
+collections: # A list of collections the CMS should be able to edit
+ - name: "post" # Used in routes, ie.: /admin/collections/:slug/edit
+ label: "Post" # Used in the UI, ie.: "New Post"
+ folder: "content" # The path to the folder where the documents are stored
+ sort: "date:desc" # Default is title:asc
+ create: true # Allow users to create new documents in this collection
+ slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
+ fields: # The fields each document in this collection have
+ - {label: "Title", name: "title", widget: "string", tagname: "h1"}
+ - {label: "Body", name: "body", widget: "markdown"}
+ meta: # Meta data fields. Just like fields, but without any preview element
+ - {label: "Publish Date", name: "date", widget: "datetime", format: "YYYY-MM-DD hh:mm:ss"}