Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Light-themed Gatsby v2 starter for portfolios and blogs, powered by Prismic CMS.
Prist is a light-themed Gatsby v2 starter that pairs the Gatsby static site generator with the Prismic headless CMS to build portfolio and blog websites.
Prist is a light-themed open-source starter template that combines Gatsby v2 with Prismic as a headless CMS, built to produce portfolio and blog websites. It takes Prismic content — three custom types named Homepage, Post, and Project — and outputs a static Gatsby site with landing, blog, and portfolio pages. The template is maintained by Marguerite Roth and is distributed as a GitHub repository under the gatsby-prismic-starter-prist name. A live demo is available at prist.marguerite.io.
Prist bundles a focused set of features for portfolio and blog sites.
Prist suits individual creators and small teams who want a CMS-driven Gatsby site.
With the starter's three Prismic custom types, you can build and publish typical content-site sections.
The setup follows four steps, starting from a Gatsby CLI command.
gatsby new YOUR-PROJECT-NAME https://github.com/margueriteroth/gatsby-prismic-starter-pristgatsby develop to start a local server at localhost:8000, with GraphiQL at localhost:8000/___graphql for query testing.gatsby-config.js, set your Prismic repository name in the gatsby-source-prismic-graphql options.Yes, the starter is open source under the repository margueriteroth/gatsby-prismic-starter-prist and can be cloned, customized, and deployed without licensing fees.
You need a Prismic account and repository. In gatsby-config.js, add your repository name. Then create the three custom types using the JSON editor and fill in every custom type field with at least one piece of content and publish it, otherwise Gatsby returns NULL value errors.
Prismic requires every field in the custom types to be populated with content and the content to be published. Also, the About section requires a link entry. Filling in all fields is necessary for the starter to fetch complete data.
Running gatsby clean clears Gatsby's cache, which resolves issues fetching updated data from Prismic. For a deeper reset, delete node_modules, .cache, and package-lock.json, then run npm install again.
Yes, a live demo website is available at prist.marguerite.io, built from this starter.