lsmoura / hexo-fbcomments

Facebook comments for HEXO
MIT License
5 stars 2 forks source link

hexo-fbcomments

A simple way to add facebook comments support to a theme's articles.

Usage

Install the plugin, and setup the config properly. If there is no configuration, the plugin will do nothing.

The theme needs to call a <%- fbcommentshead() %> on header (before the body tag) and <%- fbcomments(post.permalink) %> on the place that you want the comments to appear.

Configuration

Put the following code inside your _config.yml. Change values as needed.

# Enable facebook comments
fbcomments:
  enabled: true
  lang: en_US
  appId: 0
  numPosts: 20

Parameters

More

More information about the facebook comments plugin on the Official Documentation

Author

Created and mantained by Sergio Moura.

License

MIT