Explore everything Gatsby has to offer, with #100DaysOfGatsby
Starting Jan 1st we're running a guided challenge that invites you to learn many of Gatsby's APIs, conventions, and ecosystem tools. If you're new to Gatsby, you can sign up for weekly prompts and related resources, here: https://www.gatsbyjs.org/blog/100days/ Using and learning…
Rendering content to page with frontmatter data
Hi peeps, I have description in frontmatter that I want to render below page header as a content of the page. The problem I am facing is that when the description has markdown. What would be the best method to render this in a page?
Accessing DOM elements post build
I want to do some CSS animating on an inline element to do some cool text rotating. I found this codepen online https://codepen.io/rachsmith/pen/BNKJme. I've set up my HTML and I want to grab all the words to put into my words array: When I run gatsby develop, the words variable…
[Help] createNode in different plugin with same node type overwritted?
Description Hi everyone, I'm new in Gatsby.js and I'm trying to build my own blog with it. In addition to supporting markdown format, I also want to sync my Notion page into my app so that I can use Notion as my CMS and automatically update to my blog. And I found a plugin…
How to lock part of my MDX page content for non-logged in users
I'm working on a site with gated content, available only for logged-in users. However I still want the pages to be indexed for SEO reasons, and would like visitors to get a "limited" access to each page (maybe 20 lines or so), just like news website sometimes do. Any idea of a…
How to display paginated data using a component in Gatsby
Hi, I am working on a blog using Gatsby. 1. The landing (index) page of my blog is where I display my list of articles 2. I want to display only 10 articles per time so that a user clicks on a next button or a page and another list of articles are shown. …
Gatsby - Does not work when installing package using yarn?
I have a very weird problem. Hopefully, someone can explain to me what is wrong here. Working on a Gatsby application using Prismic as my CMS with GraphQL. Now, when I install all the packages using NPM and run "gatsby develop" it will work just fine. But when install the…
[Help] `Field "image" must not have a selection since type "String" has no…
Hey, can anyone help me out? I'm pulling my hair out with the age-old image bug: Field "image" must not have a selection since type "String" has no subfields. I've tried all the usual nonsense: …