GithubHelp home page GithubHelp logo

Comments (6)

Raccoon-njuse avatar Raccoon-njuse commented on June 2, 2024

更正:
第二张截图开启的评论系统不是Waline,是valine
image

from hexo-theme-butterfly.

jerryc127 avatar jerryc127 commented on June 2, 2024

配置 serverurl 啊

from hexo-theme-butterfly.

Raccoon-njuse avatar Raccoon-njuse commented on June 2, 2024

配置 serverurl 啊

image image image

意思是说,国内版leancloud必须绑定备案域名使用了吗,不可以再用共享域名白嫖了?

from hexo-theme-butterfly.

Raccoon-njuse avatar Raccoon-njuse commented on June 2, 2024

刚才测试了一下,换了twikoo评论系统,也是评论功能正常但是最新评论无法加载
image
image

_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

image image

from hexo-theme-butterfly.

Raccoon-njuse avatar Raccoon-njuse commented on June 2, 2024

找到问题了,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.

jerryc127 avatar jerryc127 commented on June 2, 2024

主题本身就支持lazyload
不需要插件

from hexo-theme-butterfly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.