© Joe Attardi 2020
J. AttardiUsing Gatsby and Netlify CMShttps://doi.org/10.1007/978-1-4842-6297-9_9

9. Adding More Content

Joe Attardi1 
Billerica, MA, USA
The index page currently has a hard-coded hero image and tagline, as shown in Figure 9-1.

Figure 9-1. The current index page

In this chapter, we’ll make this content configurable through the CMS application.

The contentKey field

As we’ve seen earlier, Netlify CMS stores all its data in Markdown files. We will configure some new content for the index page that will be stored in a Markdown file. There’s a slight problem, however. In gatsby-node.js we are querying for all the Markdown files to generate ...

Get Using Gatsby and Netlify CMS: Build Blazing Fast JAMstack Apps Using Gatsby and Netlify CMS now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.