Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

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
}
© 2023 Gatsby, Inc.