Skip to content

limistah/gatsby-plugin-commentator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatsby PLUGIN Commentator

This plugin adds comment feature to a GatsbyJS website.

Demo

See it here

Installation

npm install gatsby-plugin-commentator
// or
yarn add gatsby-plugin-commentator

Include it among the plugins in the gatsby-config.js file of a GatsbyJS website project folder.

module.exports = {
    plugins: [
        // ......
        {
            resolve: "gatsby-plugin-commentator",
            {website: "http://url-of-the-webiste.come"}
        }
    ]
}

Lastly, make a DOM element available at any component rendered with id="commentContainer"

<!-- Single post listing page -->
<section id="commentContainer"></section>

That's all!

NOTE.

To load fresh comments, the server has to be restarted.

Built with 💕💕💕 by Aleem Isiaka

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors