diff --git a/_config.butterfly.yml b/_config.butterfly.yml index 7223cd6b..876e372b 100644 --- a/_config.butterfly.yml +++ b/_config.butterfly.yml @@ -221,7 +221,7 @@ reward: # Post edit 文章编辑 # Easily browse and edit blog source code online. 在线轻松浏览和编辑博客源代码。 post_edit: - enable: false + enable: true # url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/ # For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/ url: https://git.ismaxu.com/ruoneo/hexo-generator/src/branch/main/source/_posts @@ -838,8 +838,8 @@ pangu: # https://github.com/verlok/vanilla-lazyload lazyload: enable: true - field: site # site/post - placeholder: + field: site/post # site/post + placeholder: /img/loading.gif blur: false # PWA diff --git a/themes/butterfly/source/img/loading.gif b/themes/butterfly/source/img/loading.gif new file mode 100644 index 00000000..716850d4 Binary files /dev/null and b/themes/butterfly/source/img/loading.gif differ