Questions tagged [netlify-cms]

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

277 questions
0
votes
1 answer

Page not found with hugo on netlify

I recently translated a site I wrote myself to hugo so I am not using a theme, I tested it on localhost and it ran perfectly, however, when trying to host it on netlify I get a page not found error. I have set the publish directory to public both on…
0
votes
1 answer

Cannot retrieve custom Netlify CMS collections in Jekyll

I created a new Netlify CMS website based on Jekyll and created new collections workshop and consultant With the Netlify CMS interface, I can see, add, edit and delete the new collections, but I cannot retrieve them in the view. --/_consultants …
0
votes
1 answer

Confused about Netlify CMS for non-blog content

I'm interested in using Netlify CMS however it seems that it's only really for blog posts. Is it possible to also use it for the actual static website content? For example: Defining the

text on the homepage Defining the text for a specific…

Jake
  • 3,865
  • 5
  • 25
  • 58
0
votes
0 answers

Is it possible to add pages to a Vuepress site through Netlify CMS back-end dynamically?

I'm trying to add pages to a Vuepress site I created with a Netlify CMS back-end. It seems the only way is to add them statically: sidebar: [ '/welcome', '/test' ], I assume there must be a way for pages to auto-populate when…
0
votes
2 answers

Gatsby failing production build

Recently, Gatsby started failing to build a production version of the site. Development version builds fine. It seems to be some Babel issue but I can't figure out what it is. I've upgraded everything, deleted the node_modules folder and yarn.lock…
Carlos B.
  • 107
  • 1
  • 3
  • 10
0
votes
0 answers

Sorting Images by Aspect Ratio for Netlify CMS Preview Template

I need to be able to sort images by aspect ratio and put them into a Netlify CMS preview template. I have built a page template for this Gatsby site that uses some attributes provided by gatsby-image (specifically aspectRatio) to filter the images…
Devon
  • 39
  • 7
0
votes
0 answers

How to input several optimized images in one page? (netlify-cms + gatsby-image + gatsby)

I got a weird result trying to use two different image widgets to input content on a single page: I can get the images paths with graphql, but the images are not processed with gatsby-image, meaning I only get a string containing the path, not the…
0
votes
1 answer

Sourcing from netlify cms

I followed the tutorial on Gatsby's site. I have the 'hello world' https://admiring-bose-8807f8.netlify.com/ site running. I've created a post but stuck getting it to show. I'm using the gatsby-source-filesystem plugin. My gatsby-config.js file is…
James
  • 1,355
  • 3
  • 14
  • 38
0
votes
0 answers

Netlify: if changes on this folder deploy to different repository (?)

Here's the scenario: I have two Vuepress website repositories on Github using NetlifyCMS with the deployment on Netlify, each one for a different website. Site 1: guidesABC.blah.com -> RepositoryABC Site 2: guidesA.blah.com -> RepositoryA The…
Fabio Zanchi
  • 924
  • 3
  • 16
  • 32
0
votes
1 answer

Netlify CMS nested YAML using Middleman

I'm trying to get my Middleman page set up with Netlify CMS. I'm using have the following file structure: data > pages > page1.yml > page2.yml Each page has this content: de: title: Title in German en: title: Title in English Now…
Manuel Meurer
  • 3,238
  • 6
  • 35
  • 50
0
votes
0 answers

How to write config.yml for Netlify CMS to automate blog entries into a `posts` folder in a Gatsby project?

I'm unable to figure out how to write the Netlify CMS config.yml for a posts folder that looks like The structure is inspired by the Gatsby Personal Blog Starter. My blog content looks like https://ibb.co/cxXL9MJ: This is my current config.yml,…
Arthur
  • 108
  • 8
0
votes
1 answer

big size of image on Netlify Cms

I am new Gatsby + NetlifyCMS. The image's size of website after deploying is bigger than the original which is on GitHub. For example: On https://gatsby-netlify-cms.netlify.com/ file home-jumbotron.jpg is 437KB But on github…
qnguyen
  • 444
  • 9
  • 21
0
votes
1 answer

Looping through selected pages in a relation field

I have a relation field in netlify-cms which prints out my multiple selected related pages. Im struggling to get hugo to go through the loop and grab the title from each page using a combo of range/GetPage. My broken Example: {{ range…
Roy Barber
  • 172
  • 4
  • 16
0
votes
1 answer

How to read only specific parts of the markdown files created through Netlify CMS in React dynamically?

I'm using Netlify CMS for a React project. I'm able to render the whole file but I want to render only some specific parts of the markdown files like title, images, date etc. I have made a markdown file search for the part that I want to extract and…
Bhawna Saroha
  • 603
  • 1
  • 11
  • 28
0
votes
1 answer

"Backend not found" with netlifyCMS and Gatsby

I've been trying to setup NetlifyCMS on a really basic Gatsby app made via cloning the gatsby-starter-default. I followed the Sourcing from Netlify CMS instructions but I keep getting Backend not found error. Here's my Gatsby…
Kyle Pennell
  • 5,747
  • 4
  • 52
  • 75