Valine Comments
Configure Valine as a top-level Solitude 4 comment provider.
Configure shared behavior and select the provider in _config.solitude.yml:
comment:
use: valine
commentBarrage: false
lazyload: true
count: true
sidebar: false
pv: false
avatar: https://gravatar.com/avatar
valine:
appId: your-leancloud-app-id
appKey: your-leancloud-app-key
serverURLs:
avatar: monsterid
visitor: false
style: true
option:Provider settings are top-level blocks, not children of comment. Restrict the LeanCloud application to the production domains and never expose a master key.
Use comment: false in page Front Matter to disable comments locally. Verify initial load, repeated PJAX navigation, posting, theme switching, count display when supported, and the production domain allowlist.
