1.1.1 • Published 5 years ago

gatsby-source-medium-posts v1.1.1

Weekly downloads
22
License
MIT
Repository
github
Last release
5 years ago

Gatsby Source Medium Posts

CircleCI

Setup

npm install gatsby-source-medium-posts

// gatsby-node.js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-source-medium-posts`,
      options: {
        username: "glweems",
      },
    },
  ],
}

Content field returns html of your blog post.

// Example Query
{
  allMediumPost {
    edges {
      node {
        id
        title
        pubDate
        link
        guid
        author
        thumbnail
        content
        categories
        description
      }
    }
  }
}