Hello everyone.
Heard about NetlifyCMS sometimes ago and decided to try it out recently.
I’m trying to setup NetlifyCMS on my blog built on Hugo.
I’ve read the docs and followed all instructions. After deploying, I got this error when I visited the admin page:
Does this affect it in any way?
I really don’t understand how this works yet, still trying to learn the process Hoping to get a hint from the community.
As requested, here is the contents of my config.yml
backend:
name: git-gateway
accept_roles:
- admin
- editor
branch: master
site_url: https://www.bolajiayodeji.com
logo_url: https://res.cloudinary.com/iambeejayayo/image/upload/v1547954566/fav-500.png
publish_mode: editorial_workflow
media_folder: "img/uploads"
collections:
- name: "blog" # Used in routes, e.g., /admin/collections/blog
label: "article" # Used in the UI
folder: "/contents" # The path to the folder where the documents are stored
create: true # Allow users to create new documents in this collection
slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
fields: # The fields for each document, usually in front matter
- {label: "Title", name: "title", widget: "string"}
- {label: "Type", name: "post", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Tags", name: "tags", widget: "array"}
- {label: "Body", name: "body", widget: "markdown"}
Kindly ignore the Tags field, tried the array widget and found out that it didn’t work, wanted to setup a field to receive tags for each post which is in an array form in Hugo. Once this is fixed, I’ll ask on the right way to do this.
Thank you for your time.