Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

7sferry/Gatsbyan1.0

Repository files navigation

Gatsbyan1.0

I decide to share my blog template as open source on github. View the web preview at https://7sferry-gatsby-contentful-starters.netlify.app/ You also can view my blog at https://ferry.now.sh

Features:

  • Contentful CMS
  • Facebook Comment
  • Tags
  • SEO
  • Archives by date
  • Pagination
  • Many more...

Tech used:

  • GatsbyJS
  • React
  • Contentful CMS
  • Lodash
  • and many others, you can check the pakcage.json

Requirements:

  • Node JS - I used Node v12.8.1
  • Gatsby CLI - I used gatsby-cli v2.10.10
  • Git
  • Contentful CMS account
  • Facebook account - optional for blog comment

Simple Step to Install With Gatsby Starters Command:

Step to Install Without Gatsby Starters Command:

Step to get SpaceId and Token:

  • after login and open the homepage content, click burger menu on the top left

  • create new space

  • choose space type

  • write down your space name and choose 'create an example' then choose blog tab and click proceed

  • after everything has been set, go to content tab and you will see 4 default contents

  • go to media tab and publish all draft images (by default heroImage is required and you can't build your site with unpublished images)

  • open setting tab and choose 'API keys'. Click 'Add api key' on the top right. Copy space ID and token to your '.env' file you created before

You can deploy your site to any static site hosting like netlify, vercel, or anywhere. There is webhook on netlify and you can set this up later to your site hosting for content update everytime you publish your content.

here is the google page speed insight score for both mobile and desktop

If you having trouble setting this up, don't hesitate to contact me 😎

About

Blog template with GatsbyJS and Contentful

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published