Ask questions about the Netlify CMS open source project. netlifycms.org
Questions tagged [netlify-cms]
277 questions
5
votes
2 answers
Netlify CMS not able to update/replace image that has been optimized in Gatsby.js
From my markdown file index.md,...
---
templateKey: home-page/index
image1: /img/City-Picture.jpg
---
...I want to make an optimized image1 available to the graphql here in templates/index.js...
export const homePageQuery = graphql`
query…

Matt
- 811
- 2
- 11
- 20
4
votes
1 answer
Is there a way to specify the branch Tree while using github as the backend for netlify CMS?
I'm using netlifyCMS and I've just added github authentication which works alright. The issue is when I try accessing my collection, all of them are empty and the reason is the github API request being made to read the content is wrong.
Here is the…

E_K
- 2,159
- 23
- 39
4
votes
0 answers
How do I use environmental variables in yaml
In my yaml file for my nextjs project using netlify-cns
I have a config.yaml file.
and I need to access the process.env.APIKEY
here is my code
media_library:
name: cloudinary
config:
cloud_name: ponders-east
api_key: …

Alexander Hemming
- 753
- 1
- 6
- 28
4
votes
1 answer
Can't read SASS files with Hugo
Dear Excellent developes.
I'm trying to duild static web site with Hugo (Netlify CMS).
I wanna build from scratch, if I can;-) ( I designed the site by myself. SO I wanna write sass from scratch).
But, sass files aren't read successflly.
Do you…

mofuty
- 53
- 3
4
votes
3 answers
Field "image" must not have a selection since type "String" has no subfields. - What am I missing?
Like many, all I want to do is to be able to use a simple gastby blog with NetlifyCMS. For one second I was able to get an image appear but never again after that. I've tried countless solutions from other posts and I'm just getting nowhere. Going…

Austinmdem
- 109
- 1
- 6
4
votes
1 answer
Gatsby Plugin Netlify CMS does not work with TypeScript?
I am trying to integrate gatsby-plugin-netlify-cms with Gatsby typescript and everytime I try to build the website, I get the following error message.
"You may need an appropriate loader to handle this file type, currently no loaders are configured…

IAmWorking
- 101
- 3
4
votes
0 answers
GraphQL/Netlify CMS - don't error if query field is undefined (doesn't exist)
I'm using Gatsby with Netlify CMS and have some optional fields in a file collection. The problem with this is that I'm unable to retrieve these fields using GraphQL, as the field doesn't exist if it was left blank.
For example, let's say I have the…

Jake
- 3,865
- 5
- 25
- 58
4
votes
0 answers
NetlifyCMS Auth on AWS Amplify
Has anyone used AWS amplify to host their static Gatsby site with NetlifyCMS? I can't figure out how to properly do authentication (using bitbucket). Do I need another package?

RedOster
- 325
- 3
- 16
4
votes
1 answer
Setting Up A Staging Workflow With Netlify CMS
I have a Gatsby site on Gitlab deployed to Netlify and using Netlify-CMS. Netlify makes it possible to push the site to different branches and have each deployed to a separate url. For example my current site has a production branch deployed to…

Undistraction
- 42,754
- 56
- 195
- 331
4
votes
1 answer
Add to Hugo site variables from Netlify CMS
I'm using the Forty Theme for Hugo with Netlify CMS, and the config.toml file has a Tiles section as follows:
# Tiles Section
[params.tiles]
enable = true
# Display your showcases here.
[[params.tiles.showcase]]
title =
subtitle =
image…

Thomas
- 5,810
- 7
- 40
- 48
4
votes
1 answer
How can I connect netlify-cms with self-hosted gotrue and git-gateway?
The title is pretty self-explanatory I think.
Repos can be found here:
https://github.com/netlify/netlify-cms/
https://github.com/netlify/git-gateway
https://github.com/netlify/gotrue
I try to not use netlify's commercial solution and handle this…

Romanos
- 149
- 10
3
votes
1 answer
Netlify CMS not saving hidden fields
Issue
I am using Netlify and Gatsby, actually working with this template to learn these systems. I can see in the pre-made files that there are hidden widgets in the admin/config.yml file for the CMS:
I am attempting create a new page with some…

TheNobility
- 53
- 4
3
votes
2 answers
How to display markdown frontmatter as HTML in Gatsby
my index-page displays blurbs with image and text.
But i cant get the text to be formated as HTML. Im using the markdown-widget with Netlify CMS and want linebreak to work when spacing content in the admin view.
ive tried use…

csk87
- 189
- 2
- 12
3
votes
1 answer
Netlify Deploy Fails
Does anyone know why I'm getting the following error :
Verify run directory
10:47:31 PM:
10:47:31 PM: ┌─────────────────────────────┐
10:47:31 PM: │ Netlify Build │
10:47:31 PM: └─────────────────────────────┘
10:47:31 PM:
10:47:31…

unkoqn
- 43
- 1
- 6
3
votes
0 answers
Gatsby + Netlify CMS images from Markdown are not converted
I am making my first site with Gatsby + Netlify CMS, after some tutorials that I did. But now I started from this template Gatsby-London. How this templete is not integrated with Netlify CMS. I worked with that and I got it. The only thing that I…

Rogar
- 145
- 3
- 17