auroral-ui / hexo-plugin-aurora

2 stars 7 forks source link

Waline错位 #3

Closed MATRIX06060 closed 1 year ago

MATRIX06060 commented 1 year ago

按照帮助文档给出的Waline操作会出现如下情况 图片

bennyxguo commented 1 year ago

__aurora.config.yaml 中加一下面这些配置:

# Twikoo comment plugin
# see https://twikoo.js.org/quick-start.html
twikoo:
  enable: false
  recentComment: true
  envId: xxxxxxxxxxxxxxx # 腾讯云环境填 envId;Vercel 环境填地址(https://xxx.vercel.app)
  # region: ap-guangzhou # 环境地域,默认为 ap-shanghai,腾讯云环境填 ap-shanghai 或 ap-guangzhou;Vercel 环境不填
  lang: 'en' # 用于手动设定评论区语言,支持的语言列表 https://github.com/imaegoo/twikoo/blob/main/src/client/utils/i18n/index.js

# Waline comment plugin
# see https://waline.js.org/guide/get-started/
waline:
  enable: false
  recentComment: true
  reaction: false
  login: 'disable'
  meta: ['nick', 'mail']
  requiredMeta: ['nick', 'mail']
  commentSorting: 'latest'
  wordLimit: 0,
  imageUploader: false,
  serverURL: '' # 填写服务端地址
bennyxguo commented 1 year ago

这个问题已经在最新的 hexo-plugin-aurora 中解决: 运行 yarn add hexo-plugin-aurora@latest 更新到最新版本即可!