Questions tagged [gatsby-plugin]
246 questions
0
votes
1 answer
How Can I return a specific image in Gatsby for my reusable component?
So I created a reusable hero section in React and I retrieve the images from a data file, so all I need to do to update the new image is I just update my data file. I'm trying to convert this component into Gatsby, but I'm not sure how to implement…

designxd10
- 57
- 8
0
votes
2 answers
GatsbyJS & Content Security Policy
I'm struggling to add a csp meta-tag to a GatsbyJS website. Can anyone help?
I've added meta-tag to the html.js (https://www.gatsbyjs.com/docs/custom-html/) and it displays successfully in the source at the top of my compiled site, however the csp…

Paul
- 11
- 3
0
votes
1 answer
Tag cloud and Category list with gatsby-plugin-categories / gatsby-plugin-tags
I wanna create a tag cloud (or category list) which should link to the corresponding tagged articles and category. But in the queries I built only the name OR slug are concatenated because they are placed either in fields OR in frontmatter but not…

Jan
- 12,992
- 9
- 53
- 89
0
votes
0 answers
gatsby-source-ghost is failing to create the Ghost schema in Gatsby
I currently have a Gatsby project based on the Gatsby-Ghost-Starter project. The Ghost schema is no longer being generated in Gatsby for some reason, and I can't seem to figure out why. As a result, I get the following error:
There was an error in…

skon182
- 71
- 1
- 7
0
votes
1 answer
Try to recover posts with a RSS Feed from a blog to my Gatsby site, someone know what is the good plugin and how to pars query?
New in GatsbyJS, I need Help to check a RSS Feed and I'm lost !
I want to check the rss feed of another blog to my gatsby site, I want to get back the posts of this blog to my gatsby site.
Someone can tell me if I need to install:
"gatsby source rss…
0
votes
1 answer
implementing scroll animations with gatsby and gatsby-plugin-scroll-reveal
I am trying to add scroll animations to my gatsby site. the plugin I am using, sal is supposed to be able to support animation when the element comes into view and/or when the element leaves. I am trying to add a slide-in animation to the element…

Ren
- 171
- 15
0
votes
1 answer
Gatsby PWA - Missing install icon on desktop and add to home screen on android
I am building a gatsby blog site. I have made it PWA. Service worker is installed and its working. The problem I am facing is that the install(plus) icon does not appear on the address bar which usually appears on PWA based websites as well as "add…

Farhan Farooq
- 193
- 2
- 13
0
votes
1 answer
301 redirect a single page in Gatsby
I installed the npm package "gatsby-plugin-htaccess" and added it to the gatsby-config.js, it worked fine and gave me a .htaccess file that tidies up the url when I publish the build.
Now, I want to permanently 301 redirect some pages so I get the…

Eric
- 33
- 1
- 6
-1
votes
1 answer
How can I build nodes and use them to create pages in gatsby?
I'm able to run my code in dev just fine and works as expected. Not sure what I'm doing wrong. Am I unable to create nodes and then build pages from them in gatsby-node.js? Is there a better way of doing this in gatsby that I'm not aware of?
The…

speedydev
- 33
- 1
- 1
- 6
-1
votes
1 answer
Creating two dynamic file paths is gatsby-node
pardon me I'm a bit new to Gatsby and I'm still learning.
I have two different file paths for my markdown both located in the same path: content/blog and content/projects. I was hoping to use the file path difference to help navigate my routing, so…

Raymond Yung
- 1
- 1
-1
votes
1 answer
Gatsby/GraphQL throws error when using emojis in Contentful content type name
I'm building my first Contentful project. In the Contentful demo setups they are using emojis in the content type names. I have also got this recommendation from a contentful representative. And it seems like a good idea to keep your content types…

chilly
- 193
- 2
- 13
-1
votes
1 answer
npm install -g gatsby-cli is not working when im trying to install gatsby-cli
Im trying to install gatsby-cli for the first time using "npm install -g gatsby-cli" but Im getiing so many npm errors , i have gone through many solutions which are posted on internet but nothing seems to work for me , im stuck on this for days…

Vishal
- 11
- 4
-1
votes
1 answer
Trouble rendering images in markdown with gatsbyjs
I'm using the following GatsbyJS starter: https://www.gatsbyjs.com/starters/jannikbuschke/gatsby-antd-docs/
I'm trying to render an image in a markdown file like so:

The markdown file…

bkleeman
- 109
- 1
- 14
-1
votes
3 answers
How to find Graphql query datasource?
Disclaimer: I am pretty new to this technology.
I have a website built with Gatsby that uses different data sources. Is there a way to understand if a specific graphql query on a page comes from a specific plugin?

Ardenne
- 897
- 2
- 13
- 23
-1
votes
1 answer
Source GraphQL API: HTTP error 400 Bad Request
I've set up an apollo federation architecture accessible via a gateway. I want to access it via gatsby using the official plugin gatsby-source-graphql. I've followed their documentation and attempted to include the plugin with the "simple"…

kemicofa ghost
- 16,349
- 8
- 82
- 131