Skip to content

gatsby-theme-catalyst-hydrogen

This theme is for a complete site using multiple different themes layered together and data from SANITY.io. It is designed for a freelance writer or author.

Tutorial:

Building a website for a freelance writer using gatsby-theme-catalyst-hydrogen

Demos

Catalyzing Start

gatsby new hydrogen https://github.com/ehowey/gatsby-starter-catalyst-hydrogen

Theme Options

OptionValuesDescription
sanityProjectIdStringRequired, Sanity project ID
sanityDatasetStringDefaults to “production”, change to reflect the dataset name you are using in Sanity
sanityTokenStringDefaults to null, should only be used with env variables for security purposes.
sanityWatchModeBooleanDefaults to true, toggle for watch mode
sanityOverlayDraftsBooleanDefaults to false, toggle for live previews, a token and private dataset is required.
sanityCreatePagesBooleanDefaults to true, toggle to turn on/off page generation from SANITY.io.

Example Config:

{
resolve: `gatsby-theme-catalyst-hydrogen`,
options: {
sanityProjectId: "abcd1234",
sanityDataset: "mydata",
sanityWatchMode: false,
}
}

© 2020 Gatsby Theme Catalyst