Gatsby plugin to retrieve blog posts from your devblog on hashnode.
npm install gatsby-source-hashnode-devblog
Gatsby plugin to retrieve blog posts from your devblog on hashnode.
```For npm
$ npm install gatsby-source-hashnode-devblogFor yarn
$ yarn add gatsby-source-hashnode-devblog
Add gatsby-source-hashnode-devblog to plugin array with following configurable options to gatsby-config.js
`js@
module.exports = {
plugins: [
{
resolve: 'gatsby-source-hashnode-devblog',
options: {
username: '', // Your username on hashnode without .`
}
}
]
}
`graphql``
query MyQuery {
allDevblogPost {
edges {
node {
brief
contentMarkdown
coverImage
cuid
dateAdded
dateUpdated
slug
title
type
tags {
name
}
id
}
}
}
}
Open LICENSE file for more info