gatsby-source-tumblr

0.1.2 • Public • Published

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

Package Sidebar

Install

npm i gatsby-source-tumblr

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

8.98 kB

Total Files

8

Last publish

Collaborators

  • angeloashmore