Questions tagged [decap-cms]
Decap CMS (formerly Netlify CMS) is an open source content management system that generates/edits markdown files, which are committed directly to a git repository (like GitHub). The repository is usually set up to then trigger a new build of the website using a static site generator.
decap-cms
142
questions with no upvoted or accepted answers
6
votes
1
answer
2k
views
RuntimeError: memory access out of bounds - gatsby development extremely slow
Developing on Gatsby has been over time significantly slowing down - at times taking up 20-30 seconds for the hot loader to refresh the page. After around 10-20 updates to a page - it eventually ...
4
votes
0
answers
432
views
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:
...
4
votes
0
answers
1k
views
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 ...
4
votes
0
answers
1k
views
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 ...
4
votes
0
answers
431
views
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?
3
votes
1
answer
637
views
Netlify Deployment Failure: Failed during 'building site': Build script returned non-zero exit code: 1
I am having issues building my site. Everything works when I use Gatsby Serve and Gatsby Build does not throw me any errors. I wish I had more details but unfortunately, this error code doesn't really ...
3
votes
0
answers
2k
views
GraphQL Error: Field "image" must not have a selection since type "String" has no subfields
Description
I am new and learning GatsbyJs/NetlifyCM/GraphQL so I am sorry if I come across as stupid. I, however, have been trying to fix this issue for 5 days now and am at my wits end. I am ...
3
votes
2
answers
783
views
How do I set up correctly cloudinary for Netlify CMS?
I'm trying to set up Cloudinary in for my Gatsby.js blog using Netlify.cms
What I want is to be able to have a widget in the CMS that allows me to select multiple images to add to a "gallery" field ...
3
votes
1
answer
194
views
Netlify CMS - save data to project root (e.g. `__dirname`)
I'm using Netlify CMS within a Gatsby Theme. Here is an example of my project structure:
root/
themes/
gatsby-theme-example/
pages/
index.js
static/
admin/
...
3
votes
0
answers
697
views
How to add a custom widget with NetlifyCMS?
I'm making a website based on Gatsby and I'm currently trying to add a custom component in the NetlifyCMS. It's the fontawesome widget, but I tried to add it thank to the netlifycms documentation, but ...
3
votes
0
answers
496
views
Conflict between the Netlify CMS preview and gatsby-remark-embed-video
I'm trying to create a youtube editor component with gatsby-remark-embed-video. I'm using Gatsby, Netlify CMS, and Netlify. I want to have a preview of the video (can be the video itself or an image) ...
2
votes
0
answers
336
views
NextJS Image Component relative image from NetlifyCMS markdown
I keep receiving an error in NextJS when trying to use the image component with data from NetlifyCMS. Does anyone know how to ensure there's a leading slash to the image url that is generated into ...
2
votes
0
answers
492
views
Github - Take check status and update commit status
Simplifying Question:
How do I make a github action that will take a specific checkstatus for a commit (pull) and update the commit status of that pull?
(These being two different APIs).
--
ADDITIONAL ...
2
votes
0
answers
223
views
Netlify CMS: Is there a way to change default sorting of fields?
Quick question, is there an option to change default sorting in Netlify CMS? I did not add any new sortingFields (just default ones). Just need to sort articles by default by date, instead on load it ...
2
votes
0
answers
347
views
How do I update Netlify identity user's app metadata?
I am using gotrue-js in react to signup and login users to my netlify identity. I am getting an error called "data":{"code":401,"msg":"Invalid token: signature is ...