Skip to content

Commit

Permalink
fix: 2 blog commenting system not working (#10)
Browse files Browse the repository at this point in the history
Remove support for twikoo and add support for waline.
 
* modify comment system configuration

* fix comments name of used.

* fix waline serverURL error.
  • Loading branch information
MortyZhaoy authored Apr 15, 2024
1 parent dde2cd7 commit 624df17
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions _config.anzhiyu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ addtoany:
comments:
# Up to two comments system, the first will be shown as default
# Choose: Valine/Waline/Twikoo/Artalk
use: Twikoo # /Waline
use: Waline # /Waline
text: true # Display the comment name next to the button
# lazyload: The comment system will be load when comment element enters the browser's viewport.
# If you set it to true, the comment count will be invalid
Expand Down Expand Up @@ -343,18 +343,18 @@ valine:
# waline - A simple comment system with backend support fork from Valine
# https://waline.js.org/
waline:
serverURL: # Waline server address url
serverURL: https://waline-chi-ivory.vercel.app/ # Waline server address url
bg: # waline background
pageview: false
meta: false # 归属地, 操作系统 前是否显示图标
pageview: true
meta: true # 归属地, 操作系统 前是否显示图标
imageUploader: true # 是否启用图片上传功能,默认开启,限制为 128kb 的 base64 图片
# 以下为可选配置,后续若有新增/修改配置参数可在此自行添加/修改
option:

# Twikoo
# https://github.com/imaegoo/twikoo
twikoo:
envId: twikoo-2fs2b2ua1-mortyzhaoys-projects
envId:
region:
visitor: true
option:
Expand Down

0 comments on commit 624df17

Please sign in to comment.