Ask questions about the Netlify CMS open source project. netlifycms.org
Questions tagged [netlify-cms]
277 questions
1
vote
1 answer
How to use environmental variables in a static Netlify page
So i have a static Webpage which uses some API. There's app.js file that has API key in it stored in an object property.I need to hide it using Netlify dev. How do I do that? How do I use Netlify dev tools in native js? I most probably need node js…

rolyuhh
- 13
- 2
1
vote
1 answer
Netlify CMS build on themeforest theme
I bought "SuperProps - React Next Landing Page Templates" from themeforest. This theme is based on the Gatsby-platform and this was hosted via Netlify.
I wish to implement Netlify CMS, so that, I can make changes on the site via CMS. Is there any…

SajZ
- 262
- 3
- 16
1
vote
1 answer
Render markdown/HTML from frontmatter in a Gatsby NetlifyCMS project
NetlifyCMS offers a markdown editor that allows the insertion of markdown (and code blocks) within frontmatter.
The resulting markdown file might have content like:
---
featureSubtitle: |-

#…

larpo
- 1,073
- 1
- 10
- 18
1
vote
3 answers
Making Content Editable with Netlify CMS and Hugo
I'm trying to wrap my head around how I can go into the Netlify CMS and be able to edit the home page texts using Hugo. Days of research is leading me nowhere since all documents are about doing blog posts.
Right now I have my Netlify config.yml in…

Ram Dettmer
- 25
- 6
1
vote
0 answers
Gatsby-MDX + Netlify-CMS-Widget-MDX - TypeError: Cannot read property 'validate' of undefined
I am having trouble getting netlify-cms-widget-mdx to work. For now, I just cloned the gatsby-starter-mdx, set up netlify cms and am now trying to add this widget.
My cms.js file looks as follows:
import CMS from 'netlify-cms-app'
import {…

jesterbeaver
- 11
- 1
1
vote
1 answer
Setting meta description on blog post with nuxt and NetlifyCMS
I am using the net Nuxt boilterplate for NetlifyCMS and it all works good, but I have a hard time figuring out how to set meta description on a blog post.
My _blog.vue template has this

Morten Hagh
- 2,055
- 8
- 34
- 66
1
vote
0 answers
Maintaining image preview in Netlify CMS
When uploading an image in Netlify CMS, I get a preview image, which however disappears right after a refresh. The image I attached shows the source attribute the preview element uses - it looks like the logic here assumes that the image is already…

Peter
- 91
- 1
- 6
1
vote
0 answers
Trying to understand how Jekyll redirect works
I recently moved my site domain from https://rakshitsoral.ga to https://rakshitsoral.com. I want to redirect .ga domain to .com domain. I tried using plugin Jekyll-redirect-from, but it's not working as expected (maybe, I am doing something…

Rakshit soral
- 21
- 2
1
vote
1 answer
Gatsby and Netlify CMS Preview error with rendering StaticQuery
I'm using Gatsby with Netlify CMS and ran in the problem with previewing templates in Netlify CMS.
There is an index page component which works as expected. It gets the data from markdown and frontmatter and is linked with
Netlify CMS widgets and…

iamskok
- 600
- 5
- 19
1
vote
1 answer
Netlify CMS isn't including the hyphen when saving as .yaml format
I'm using Gatsby with gatsby-plugin-netlify-cms to add Netlify CMS to the website, netlify-cms-backend-fs to allow Netlify CMS to work in development mode using the file system instead of a remote repo, and gatsby-transformer-yaml to transform the…

Jake
- 3,865
- 5
- 25
- 58
1
vote
0 answers
In Gatsby Netlify starter, Working on Custom Preview Component, Immutable entry.getIn, and widgetsFor return empty objects from a list
I've managed to build out a custom home page with "slides," using react-scrollmagic and react-gsap. I've altered index.md to have the fields and lists I need for each slide, and the field definitions in static/admin/config.yml so Netlify will pick…

funkenstein
- 293
- 6
- 17
1
vote
1 answer
how to configure jekyll with netlify cms to edit & create pages
I have a simple jekyll site and am trying to get netlify cms to work as the editor for the pages aswell as the posts.
If I tryt o move the pages into a pages folder in the the custom collections folder then it doesn't seem to build them unless they…

Tofuwarrior
- 669
- 9
- 21
1
vote
2 answers
Date widget/input appears to save inconsistent to display
I figure that this is some timezone/UTC issue - but I can't quite figure it out.
I have setup Netlify CMS on my Gatsby website using the following config.yml:
backend:
name: git-gateway
branch: master
publish_mode:…

BML91
- 2,952
- 3
- 32
- 54
1
vote
1 answer
Images breaking between localhost and Netlify using NetlifyCMS
OK, I'm pretty new to JAMstack, React, GatsbyJS, NetlifyCMS and Netlify, so do forgive me if this is simple.
I have a site running using React and GatsbyJS, and have NetlifyCMS running too to control the content. For the most part the site is…

Dan Farrow
- 43
- 5
1
vote
1 answer
How to dynamically render strings in Vue?
I am pulling an array on images from Netlify CMS and passing that to vue-picture-swipe component, but the acutal images don't render, even though the path is correct etc.
Not sure what I am doing…

Dan
- 1,536
- 4
- 17
- 31