I did all the steps to deploy website via Netlify and Github and now I can get into /admin page using my google account. And for some reason it has right collection type on live website but wrong on my local environment.
This is my config file
# when using the default proxy server port
local_backend: true
backend:
name: git-gateway
branch: master # Branch to update (optional; defaults to master)
media_folder: static/img
public_folder: /img
collections: # A list of collections the CMS should be able to edit
- name: "pages"
label: "Pages"
files:
- file: "content/_index.md"
label: "Home Page"
name: "home"
fields:
- {label: Title, name: title, widget: string}
- {label: Subtitle, name: subtitle, widget: string}
- {label: Image, name: image, widget: image}
- {label: "Blurb", name: blurb, widget: object, fields: [
{label: "Heading", name: "heading", widget: string},
{label: "Text", name: "text", widget: "text"}]}
- {label: "Intro", name: intro, widget: object, fields: [
{label: "Heading", name: "heading", widget: string},
{label: "Text", name: "text", widget: "text"}]}
- {label: "Products", name: products, widget: list, fields: [
{label: "Image", name: "image", widget: "image"},
{label: "Text", name: "text", widget: "text"}]}
- {label: "Values", name: "values", widget: "object", fields: [
{label: "Heading", name: "heading", widget: string},
{label: "Text", name: "text", widget: "text"}]}
This is what I see on local website: