Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[功能建议] 兼容插件 hexo-blog-encrypt #21

Closed
Apocalypsor opened this issue Apr 12, 2023 · 2 comments
Closed

[功能建议] 兼容插件 hexo-blog-encrypt #21

Apocalypsor opened this issue Apr 12, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Apocalypsor
Copy link

Apocalypsor commented Apr 12, 2023

功能概述
兼容插件 hexo-blog-encrypt
项目地址:https://github.com/D0n9X1n/hexo-blog-encrypt
目前使用该插件加密文章会导致以下几个问题

  • 开启懒加载后图片无法载入
  • 边栏无法显示
@f-dong
Copy link
Owner

f-dong commented May 26, 2023

我已向 hexo-blog-encrypt 提交了 PR,但该扩展包作者未将更改成功推送至 NPM,因此目前无法做到完全兼容,可等待该插件下次更新后即可天然兼容


临时解决办法,在需要加密的文章内容底部添加以下代码:

<script>themeBoot();</script>

注:需确保本主题版本大于等于 V1.3.6

@f-dong f-dong closed this as completed May 26, 2023
@Apocalypsor
Copy link
Author

好的,感谢大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants