Comments (6)
更正:
第二张截图开启的评论系统不是Waline,是valine
from hexo-theme-butterfly.
配置 serverurl 啊
from hexo-theme-butterfly.
配置 serverurl 啊
意思是说,国内版leancloud必须绑定备案域名使用了吗,不可以再用共享域名白嫖了?
from hexo-theme-butterfly.
刚才测试了一下,换了twikoo评论系统,也是评论功能正常但是最新评论无法加载
_config.butterfly.yml
# Twikoo
# https://github.com/imaegoo/twikoo
twikoo:
envId: https://sweet-tulumba-f49b77.netlify.app/.netlify/functions/twikoo
region: ap-shanghai
visitor: false
option:
# Comments System
# --------------------------------------
comments:
# Up to two comments system, the first will be shown as default
# Choose: Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo/Giscus/Remark42/Artalk
use: Twikoo
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
lazyload: false
count: true # Display comment count in post's top_img
card_post_count: true # Display comment count in Home Page
# Aside widget - Newest Comments
newest_comments:
enable: true
sort_order: # Don't modify the setting unless you know how it works
limit: 6
storage: 10 # unit: mins, save data to localStorage
avatar: true
Twikoo云函数是按照这份文档部署的,
https://twikoo.js.org/backend.html#netlify-部署
用的是netlify+MongoDB
from hexo-theme-butterfly.
找到问题了,lazyload插件没有调成仅文章
# lazyload
lazyload:
enable: true
onlypost: true # optional
loadingImg: # optional eg ./images/loading.gif
isSPA: false # optional
preloadRatio: 3 # optional, default is 1s
from hexo-theme-butterfly.
主题本身就支持lazyload
不需要插件
from hexo-theme-butterfly.
Related Issues (20)
- [Bug]: noticeOutdate报错 HOT 1
- [Bug]: 本地搜索有的无法运行 HOT 4
- [Bug]: build失败 HOT 2
- [Bug]: toc_expand: false不起作用 HOT 4
- [Bug]: 鼠標點擊效果: 文字 设置为true后不生效 HOT 3
- [Bug]: 配置时遇到的bug HOT 2
- [Bug]: HOT 2
- [Bug]: 侧边栏邮箱联系,本地正常,部署之后会自动加上域名导致404 HOT 2
- [Bug]: 有关于左上角图标跳转的bug的问题 HOT 4
- [Feature]: 仅针对特定文章的侧边栏
- [Feature]: 添加多语言支持或配置教程 HOT 4
- [Bug]: [后续][另辟蹊径的解决办法]关于左上角图标跳转bug的问题续篇 HOT 1
- [Feature]: Apply `blur` effect to images in `{% gallery %}` HOT 1
- [Bug]: tabs 渲染不太对 HOT 4
- [Bug]: Waline 评论无法展示 HOT 1
- [Bug]: Artalk无法正常获取评论 HOT 2
- [Bug]:未适配waline 3.0.1,无法显示评论系统 HOT 1
- [Bug]: 文章页面无法加载twikoo评论的数量 HOT 2
- [Bug]: butterfly对于 无序列表中的代码块渲染出错 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-butterfly.