Skip to content

Files

Latest commit

457ebf8 · Sep 11, 2019

History

History
30 lines (24 loc) · 462 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 462 Bytes

Gatsby source medium feed

This plugin returns the content of medium posts.

Available properties are:

  • title
  • date
  • author
  • link
  • content
  • thumbnail
  • slug

Usage

  1. Run npm i -S gatsby-source-medium-feed
  2. Add plugin to your gatsby-config.js :
plugins: [
  {
    resolve: 'gatsby-source-medium-feed',
    options: {
      userName: '@...', // Medium user name
      name: 'MediumFeed', // GraphQL query AllMediumFeed
    },
  },
]