menu
Channels
# All channels
view-forward
# General
view-forward
# I Made This
view-forward
# Meta
view-forward
# Themes
view-forward
Team
Posts
Members
Info
down-caret
·107d·Pinned# Meta

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…

thumbsup
17
message-simple
0

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?

thumbsup
1
message-simple
23

If field is empty don't display (Contentful + GatsbyJS)

Hi Maybe this is a basic question. Im pulling data from Contentful into my gatsby website but some of the entries dont have values on a specific field. …

thumbsup
0
message-simple
6

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…

thumbsup
0
message-simple
8

[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…

thumbsup
0
message-simple
24

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…

thumbsup
0
message-simple
6

gatsby-plugin-alias-imports not working with Enzyme

I've just started to write tests and I'm getting errors and it seems that when it tries to import the component to test it errors as it can't resolve the components children

thumbsup
0
message-simple
3

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. …

thumbsup
1
message-simple
2

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…

thumbsup
0
message-simple
5

[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: …

thumbsup
0
message-simple
4

Fairly Complex Gatsby Integration CenterConsolesOnly.net

This is my first Gatsby implementation and it has been great and getting better every day! I am using the following main components for this project (may be missing a few): • GatsbyJS • Drupal 8 …

thumbsup
2
message-simple
2