All Questions
13
questions
0
votes
0
answers
163
views
Can't install npm package "decap-cms-app" (ETARGET)
I have an Astro project where i want to install the decap-cms-app package in order to manually configure my project.
Currently i'm importing the code using the cdn
<script src="https://unpkg....
1
vote
1
answer
121
views
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 ...
0
votes
2
answers
989
views
How do I format [future, non-current] dates in Eleventy + Nunjucks?
I'm building a site with a CMS (Netlify) for a local band, and they have future gig dates they will put on the site. So far the dates show up as very long non-formatted strings that include the time ...
0
votes
1
answer
436
views
Problem with gatsby-node.js trying to create markdown pages hooked to NetlifyCMS
I am trying to solve this issue for days.
I never wrote a gatsby-node.js but used a Gatsby NetlifyCMS starter that came with it.
From what I understand it's probably supposed to create a page from my ...
0
votes
1
answer
373
views
React: add HTML from generic file path at server-side build time
The use case I'm trying to fulfill:
Admin adds SVG along with new content in CMS, specifying in the CMS which svg goes with which content
CMS commits change to git (Netlify CMS)
Static site builds ...
1
vote
0
answers
102
views
cannot load the information from netlify-cms
I have a sveltekit app with netlify-cms added to it.
I have followed this tutorial on sapper.
https://dev.to/avcohen/svelte-sapper-netlify-cms-3mn8
I have the ability to input information through the ...
10
votes
1
answer
8k
views
Next.js: How to get static assets from within getStaticProps
I am using Netlify CMS. I want to import all the slides for a carousel into my component. I made a collection called slider and added a few slides. That created two markdown files (one for each slide) ...
2
votes
1
answer
11k
views
Netlify Deploy: 12:43:01 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
I am trying to deploy changes for a gatsby website to netlify, I have merged in some changes and the website runs locally with the changes, but when I try and deploy this, I'm getting this error:
12:...
1
vote
1
answer
2k
views
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 ...
1
vote
2
answers
57
views
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 ...
1
vote
1
answer
997
views
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 ...
0
votes
0
answers
99
views
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://...
0
votes
2
answers
10k
views
npm start to bind to linux container ip address
I need to be able to bind my linux container 'npm start' address to 10.XX.XX.XX so I may be able to view from my host box. Both host and container are Ubuntu. Host is Ubuntu 18 and container is 16 ...