Valine Configuration

Learn how to configure Valine comment for the Solitude theme.

Configuring the Backend

Refer to the Valine Documentation to configure your server and fill in the corresponding settings.

Theme Configuration

Configure the required corresponding settings accordingly:

_config.solitude.yml
# Approximately at lines 789 and 831
# --------------------------- start ---------------------------
# Comment
# 评论
comment:
  # Which commenting system to use(e.g. waline or waline,twikoo)
  # 使用哪个评论系统(例如: waline or waline,twikoo)
  use: valine # waline, twikoo, valine, artalk, giscus # Up to two comment systems can be turned on at the same time
  # Whether to display the hot comment switch.

···

valine:
  appId: # leancloud application app id
  appKey: # leancloud application app key
  serverURLs: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
  avatar: # https://valine.js.org/avatar.html
  visitor: false
  style: true # Use custom styles when turned on
  option: # options list