wangjiezhe / hexo-next-giscus

Giscus comment system for NexT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexo Next Giscus

Theme Version Package Version License

Giscus comments system powered by GitHub Discussions for NexT.

Install

$ npm install hexo-next-giscus

Configure

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

giscus:
  enable: false
  repo: # Github repository name
  repo_id: # Github repository id
  category: # Github discussion category
  category_id: # Github discussion category id
  # Available values: pathname | url | title | og:title
  mapping: pathname
  # Available values: 0 | 1
  reactions_enabled: 1
   # Available values: 0 | 1
  emit_metadata: 1
  # Available values: light | light_high_contrast | light_protanopia | light_tritanopia | dark | dark_high_contrast | dark_protanopia | dark_tritanopia | dark_dimmed | preferred_color_scheme | transparent_dark | noborder_light | noborder_dark | noborder_gray | cobalt | purple_dark
  theme: light
  # Available values: en | zh-CN
  lang: en
  # Place the comment box above the comments
  input_position: bottom
  # Load the comments lazily
  loading: lazy

About

Giscus comment system for NexT

License:MIT License


Languages

Language:Nunjucks 61.6%Language:JavaScript 35.4%Language:Stylus 3.0%