diff --git a/public/admin/config.yml b/public/admin/config.yml index be79ef5..ef1b414 100644 --- a/public/admin/config.yml +++ b/public/admin/config.yml @@ -1,6 +1,21 @@ backend: name: git-gateway - branch: master # Branch to update (optional; defaults to master) + branch: netlify-cms # Branch to update (optional; defaults to master) media_folder: "public/images/uploads" # Media files will be stored in the repo under static/images/uploads public_folder: "/images/uploads" # The src attribute for uploaded media will begin with /images/uploads + +collections: # A list of collections the CMS should be able to edit + - name: "pages" + label: "Pages" + files: + - file: "content/pages/home.md" + label: "Home Page" + name: "home-page" + fields: + - {label: Title, name: title, widget: string} + - file: "content/pages/about.json" + label: "About Page" + name: "about-page" + fields: + - {label: Title, name: title, widget: string} diff --git a/public/admin/index.html b/public/admin/index.html index c9131ee..1ef4650 100644 --- a/public/admin/index.html +++ b/public/admin/index.html @@ -12,5 +12,6 @@ +