NEW RELEASE:

Centralized data layer for multiple content sources or frameworks. Dive deep into Valhalla

ContactSign Up for Free
Community Plugin
View plugin on GitHub

gatsby-source-tumblr

Source plugin for pulling posts into Gatsby from Tumblr blogs.

Install

npm install --save gatsby-source-tumblr

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-source-tumblr`,
    options: {
      blogIdentifier: `your_blog_identifier`,
      consumerKey: `your_consumer_key`,
    },
  },
]

How to query

You can query Post nodes created from Tumblr like the following:

{
  allTumblrPost {
    edges {
      node {
        id
        type
        date
        notes {
          type
          blog_name
        }
      }
    }
  }
}
© 2022 Gatsby, Inc.