1.1.1 • Published 3 years ago
@xandrev/gistblog v1.1.1
@xandrev/gistblog
This allows you to create a dynamic blog for static providers like GitHub Pages using Gists as a backend.
For an example of a blog using this package, check out https://seisvelas.github.io
Install
npm install --save @xandrev/gistblog
Usage
Add blog posts by creating a Gist whose filename begins with 'blog_'. Then add the Blog
component, like so:
import React, { Component } from 'react'
import Blog from '@xandrev/gistblog'
class Example extends Component {
render() {
return <Blog user="[Your Gist Username]" />
}
}
License
MIT © xandrev
Source code: https://github.com/seisvelas/gistblog