Skip to content

twikoojs/hexo-next-twikoo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexo NexT Twikoo

Theme Version Package Version

Twikoo comment system for NexT. Twikoo is a simple, safe, free comment system.

Install

# For NexT version >= 8.0.0 && < 8.4.0
npm install [email protected]
# For NexT version >= 8.4.0
npm install [email protected]

Register

Please refer to https://twikoo.js.org/quick-start.html

Configure

Set the value enable to true, add the obtained env ID (envId), and edit other configurations in twikoo section in the config file as following. You can config those in both hexo or theme _config.yml:

# Twikoo
# For more information: https://twikoo.js.org, https://github.com/imaegoo/twikoo
twikoo:
  enable: true
  visitor: true
  envId: twikoo-1gs9l0fb17e7897a # 环境 ID,搭建教程:https://twikoo.js.org/quick-start.html
  # region: ap-guangzhou # 环境地域,默认为 ap-shanghai
  # path: 'window.location.pathname' # 自定义文章路径
  # jsUrl: https://cdn.jsdelivr.net/npm/twikoo/dist/twikoo.all.min.js # 自定义 JS 文件地址