Skip to content

Official source plugin for adding Fridge content to Gatsby

Notifications You must be signed in to change notification settings

fridge-cms/gatsby-source-fridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-source-fridge

Official source plugin for adding Fridge content to Gatsby.

Installation

$ npm install --save gatsby-source-fridge
// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: 'gatsby-source-fridge',
      options: {
        token: 'FRIDGE_API_TOKEN'
      }
    }
  ]
}

Examples

Querying Content

allFridgePages {
  edges {
    node {
      name
      slug
      content
      images {
        url
      }
    }
  }
}
fridgeSettings {
  logo {
    url
  }
  copyright
}

About

Official source plugin for adding Fridge content to Gatsby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published