Lazy loaded image
技术分享
🗒️技术分享丨Hexo博客配置valine评论系统
字数 247阅读时长 1 分钟
2023-4-26
2025-2-6
type
Post
status
Published
date
Apr 26, 2023
slug
summary
tags
建站
Hexo
category
技术分享
icon
password

Hexo博客配置valine评论系统

注册LeanCloud

注册之后需要验证一下身份,通过支付宝人脸识别一下,很快。
然后还需要验证一下注册邮箱。

配置LeanCloud

点击创建应用
notion image
自己取一个名字,点击创建
notion image
创建之后,点击齿轮
notion image
左边菜单选择”设置 - 应用凭证“,保存好AppID和AppKey
notion image
左边菜单选择”安全中心“,打开”数据存储“开关,将自己博客地址输入安全域名,保存
notion image

修改主题文件

修改评论系统配置
use:填写”Valine“
lazyload:滚动到评论再加载,可以开
count:文章显示评论数,可以不开
card_post_count::主页显示评论数,可以不开
notion image
填写valine配置,填入appId和appKey
notion image
到这里保存重载即可。

参考资料

上一篇
产品指南丨Mac如何设置网络优先级
下一篇
技术分享丨用Picgo+Github打造私人图床

评论
Loading...