Questions tagged [netlify-cms]

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

277 questions
2
votes
2 answers

Netlify CMS Rebuild Config.yml Changes

I am just getting started with Netlify CMS and I am confused how to update the CMS once my admin/config.yml changes I cloned the default Hugo project and I modified some of the config.yml file fields for the home page and wired them up correctly in…
Ecognium
  • 2,046
  • 1
  • 19
  • 35
2
votes
1 answer

Add widget without it showing up in Netlify CMS preview

Is there a backend widget type which allows the user to enter a text value, in the editor but not displayed in the preview to the right? I have this configuration from the example out of the box: - label: "Blog" name: "blog" folder:…
talves
  • 13,993
  • 5
  • 40
  • 63
1
vote
0 answers

Netlify CMS : Uncaught (in promise) Error: Failed to load config.yml (404)

I have configured CMS using js as follows index.html
1
vote
1 answer

Adding SASS modules to Netlify CMS custom preview breaks Gatsby

Summary The project works without issues with SASS modules. Trying to use SASS inside src/cms/cms.js for the purposes of customizing the CMS admin preview panel breaks the project. Using regular CSS or CSS modules works without any problem for the…
Des
  • 213
  • 1
  • 3
  • 14
1
vote
1 answer

How do I query a image via a json file with an image path with graphql in Gatsby.js?

In Gatsby I'm trying to create a query with Graphql to query an image. The image location is set in a homepage.json file (this is being managed by Netlify CMS, so it is dynamic): { "homepage_text": "Here goes homepage text", …
royketelaar
  • 1,389
  • 2
  • 11
  • 21
1
vote
1 answer

Single page with Astro and Netlify CMS

I’m trying to create a Single page with astro and netlify cms, in which the admin should be able to add/remove/modify the page through /admin, but I’m struggling with the understanding of the folder structure. So, as far as I know, I need to specify…
Don_Huan
  • 85
  • 2
  • 10
1
vote
0 answers

NetlifyCMS - How to get a relation item's data within a custom editor component preview?

I'm building a custom "rich link" editor component composed of a single relation widget and displaying the selected item's title, thumbnail, and excerpt: CMS.registerEditorComponent({ label: 'Rich link', id: 'rich_link', fields: [ …
qbeauperin
  • 591
  • 4
  • 21
1
vote
1 answer

Eleventy and Netlify blog, with author relations

I have a blog type site that I've been working on, which is almost complete. I've used Eleventy and now I've hooked up Netlify CMS which required me to restructure some data. Netlify CMS requires me to have separate files for the relation widget…
Daz Lee
  • 144
  • 1
  • 9
1
vote
1 answer

GatsbyJS + Netlify CMS Issue with relative path

I am trying to add new projects to my GatsbyJS site using Netlify CMS. The problem is that my code is using relative path to reach the thumb images but when uploading a new thumb image from netlify it saves it as an absolute path. This is causing a…
Simon CF
  • 25
  • 1
  • 1
  • 8
1
vote
0 answers

How do I format dates in Netlify CMS?

I'm building a site with Netlify CMS, Eleventy and Nunjucks. I'm having trouble with date formatting for future, non-current dates -- the site is for a local band advertising their show dates. The date shows up as the standard ISO format despite…
Molly
  • 23
  • 2
  • 7
1
vote
1 answer

Jekyll + NetlifyCMS collection widget

I have a problem with Jekyll + NetlifyCMS. I want to create relation widget. I cannot search my author in relation widget with code below. What am I doing wrong? #config.yml collections: authors: output: true #_authors/jill.md --- short_name:…
mikolaj
  • 39
  • 4
1
vote
1 answer

Nuxt content alternative for vue 3 + vite?

I want to create simple blog with netlify cms and i have no idea is there any plugin with same purpose as nuxt content and with complete api in vue 3. I look to Vite Plugin MD, while it's a great plugin but i have not found same function in nuxt…
1
vote
2 answers

Replicating nuxt/content functionality in Nuxt 3

I'm experimenting with Nuxt 3, Netlify and Netlify CMS. I'm familiar with vue but new to Nuxt. I'm aware that nuxt/content is not yet compatible with Nuxt 3. Without nuxt/content, what would be the best way to load all the files that Netlify CMS is…
Iainure
  • 169
  • 1
  • 12
1
vote
0 answers

How to point the netlify preview link to deployed branch

When I make changes to a page and save the changes. It deploys a preview branch via netlify with (https://docs.netlify.com/site-deploys/deploy-previews/). However when I click on the netlify preview button, it just links to a default url like:…
Otto
  • 663
  • 3
  • 17
  • 33
1
vote
1 answer

Slug is null with Netlify CMS

I'm trying to get Netlify CMS setup, and running into issues when I use it to create new markdown files. I tried to read through the docs to get it configured correctly but something doesn't seem to be adding up. Part of the issue seems to come…
Keith
  • 124
  • 1
  • 9