Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.34 KB

README.md

File metadata and controls

54 lines (41 loc) · 1.34 KB

Hexo NexT DiscussBot

Theme Version Package Version npm License

DiscussBot comment system for NexT.

Preview

image

Install

npm install hexo-next-discussbot

or

yarn add hexo-next-discussbot

Configure

You can config those in both hexo or theme _config.yml

# DiscussBot
# You can get your siteid from https://comments.app/
# Demo: https://comments.app/view/FLRGs2N1
discussbot:
    enable: false
    site_id: # get from comments.app
    # number: comments showed per page
    number: 5
    # color: use HEX number for accent color
    color: 3DA0F0
    # colorful: 0 or 1, use different colors for names
    colorful: 0
    # dark: 0 or 1, use dark theme
    dark: 0
    # dislike: 0 or 1, show only likes, or show both like and dislikes
    dislikes: 0
    # outlined: 0 or 1, use filled icon or outlined icon
    outlined: 0

Known issues:

  • Not compatible with pjax.
  • Comments are linked to the site url exactly.