Skip to content

Gatsby source plugin for building websites using Tumblr as a data source

Notifications You must be signed in to change notification settings

jqrn/gatsby-source-tumblr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Gatsby source plugin for building websites using Tumblr as a data source

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%