Skip to main content
Community Plugin
View plugin on GitHub
See starters using this

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'
      }
    }
  ]
}

Querying Content

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