Questions tagged [netlify-cms]

Ask questions about the Netlify CMS open source project. netlifycms.org

277 questions
1
vote
1 answer

Error generating route "undefined": This page could not be found

Hei, I am creating a website with Nuxt and netlify cms when I run npm run generate it gives the error : √ Generated route "/about" 10:03:26 ERROR Error generating route…
Ricardo Moreira
  • 947
  • 1
  • 9
  • 20
1
vote
1 answer

How to provide scope and custom components to netlify-cms-widget-mdx

I've set up a Gatsby blog using Netlify CMS and added netlify-cms-widget-mdx to support .mdx files. I have some custom components that I've passed to the MDXProvider to make them globally available to all of my .mdx files without the need to import…
garrowj
  • 23
  • 1
  • 5
1
vote
1 answer

How to add 'slug' tag automatically in markdown files using NetlifyCMS and Gatsby?

Codesandbox link here. Any time I try to publish a new blog post using NetlifyCMS, it says it publishes. However my Netlify build fails and doesn't actually push any blog posts live. Here's the error I get: 12:44:22 PM: error Your site's…
JD Fill
  • 392
  • 2
  • 7
  • 24
1
vote
2 answers

Adding a 2nd dynamic template to Gatsby/NetlifyCMS correctly - Where am I going wrong?

I've added a blog page that I integrated with NetlifyCMS and it works wonderful. However, I need to have one more dynamic page on my site that displays services and each service will have its own generated template, will pretty much be very similar…
Austinmdem
  • 109
  • 1
  • 6
1
vote
0 answers

The deployment of my Gatsby CMS is not the one I want, Google maps gatsby plugin

Good evening everyone, Can someone please help me on that ? I have my Github repo with my Gatsby CMS in it, I have two different branches, master and develop. To deploy my changes I use netlify that deploys from the master branch. Merges from my…
2G1P
  • 67
  • 9
1
vote
1 answer

Netlify CMS and Enterprise Github instance

Can Netlify CMS work with a private Enterprise Github instance (not github.com)? Every tutorial I've seen shows it with public Github and the configuration documentation doesn't mention anything about it.
Ed G
  • 101
  • 1
  • 6
1
vote
1 answer

Netlify Lambda function log hangs forever

The Function Log seems has the spinning slash forever. here is my…
Franva
  • 6,565
  • 23
  • 79
  • 144
1
vote
1 answer

Formatting markdown HTML data in a Gatsby component using static-query

I am trying to display html information form a markdown file using a component with a static query in GatsbyJS. When I print the data I get raw HTML with the tags. Curent result I would like to display the title of the markdown and the HTML text…
1
vote
1 answer

Posts not updated when created via Netlify CMS

I've created a new post through Netlify CMS however the posts are not updating on the Gatsby site. I thoroughly followed the add Netlify CMS to existing sites documentation and everything seems to be working fine except the posts is not showing up…
Mohammed Asker
  • 97
  • 1
  • 1
  • 14
1
vote
0 answers

How to access .yml file at root in Netlify CMS?

I'm trying to give Netlify CMS access to a data file containing authors for a blog site, but I haven't been able to get the records from the root of the file. I need the records to be at the root because of the site generator I'm using. Is there…
1
vote
1 answer

Netlify CMS custom preview not working with gatsby

I cloned this gatsby netlify cms starter blog and am trying to add custom previews. I have followed all the instructions, but it is still not working. This is my config.yml: ... collections: - name: "blog" label: "Blog" folder:…
I_A
  • 331
  • 2
  • 14
1
vote
0 answers

how to validate and prevent publish in netlify-cms with gatsby?

I'm trying to add some validation in the netlify cms on the uploaded images, I want to check the extension of images to be one of ['png', 'jpg', 'jpag'], otherwise, I want to disable the publish button or showing any error message; I'm struggling…
fadi omar
  • 740
  • 5
  • 15
1
vote
0 answers

GraphiQL / Gatsby / Netlify CMS - Turn netlify query into Template

New to both Gatsby and Netlify. What I've managed to achieve so far is: Setting up a basic Gatsby project Synced it to Netlify Produced a GraphiQL query I have an admin > config.yml file that populates the fields i can use in netlify backend: …
Haven
  • 87
  • 1
  • 9
1
vote
1 answer

Netlify build fails on multiple Gatsby sites

All my Netlify solutions seem to be having a build fail issue. Error Logs : Site 1, 6:54:30 AM: info deleted directory at /opt/build/repo/src/data 6:54:30 AM:…
Fisherman
  • 11
  • 1
1
vote
0 answers

Can I style the Netlify CMS preview with Theme UI and/or Emotion?

I have a Gatsby project that uses Theme UI and Netlify CMS. How can I style the Netlify CMS preview pane with my Theme UI styles? Netlify CMS doesn't support CSS-in-JS libraries: https://github.com/netlify/netlify-cms/issues/793 Unlike Styled…
Aaron Adams
  • 1,657
  • 16
  • 23