gatsby-plugin-github-ribbon

2.2.3 • Public • Published

gatsby-plugin-github-ribbon

npm npm

Add the Fork Me on Github Ribbon to any Gatsby site.

Install

$ npm install --save gatsby-plugin-github-ribbon

# or

$ yarn add gatsby-plugin-github-ribbon

How to Use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-github-ribbon`,
    options: {
      project: `https://github.com/example/project`,
      color: `red`, //`red`, `green`, `darkblue`, `orange`, `gray`, or `white`.
      position: `left`, //`left` or `right`
    },
  },
];

Options

Position can be: left or right.

Color can be: red, green, darkblue, orange, gray, or white.

Package Sidebar

Install

npm i gatsby-plugin-github-ribbon

Weekly Downloads

0

Version

2.2.3

License

MIT

Unpacked Size

16.9 kB

Total Files

10

Last publish

Collaborators

  • lekoarts
  • moonmeister