Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Nathan Heffley's Gatsby Blog

You'll need to create the .env.development and .env.production files by copying .env.example and providing the ID and access code to your Contentful space which has a BlogPost content type.

Gatsby will try loading title, slug, description, githubUrl, and content fields from your blog posts, so you should define those fields on your content type.

Then navigate into the blog's directory and start it up in development mode to test it out.

gatsby develop

To build the site, simply run the build command.

gatsby build

Then you can put the files generated in the public directory onto a static site host, or serve them locally with Gatsby.

gatsby serve

Hosting

If you're interested, I wrote a post about how I host this blog for free.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

A static blog site generated with Gatsby, filled with posts from Contentful.

Resources

License

Releases

No releases published

Packages

No packages published