参考

Jekyll个人博客添加返回顶部按钮

其它问题

beautiful-jekyll版本:5.0.0

1.没有main.css文件

解决方案: 新建一个/asset/css/main.css 在base.html添加

common-css:
  - "/assets/css/main.css"

2.jQuery throw the error `fadeOut is not a function’

reason:

This will happen if you're using the "slim" version of jQuery. Only the "full" version of jQuery includes animation effects.

Try grabbing the "full" version of jQuery from the jQuery downloads page and including that in your page (or including a full version of jQuery from a CDN from your page).

解决方案: 将base.html中的jQuery url改成

common-ext-js:
  - href: "https://code.jquery.com/jquery-3.5.1.min.js"
    sri: "sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="

标签:

分类:

更新时间:

留下评论