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

求助 #1

Open
46fafa opened this issue Dec 27, 2022 · 1 comment
Open

求助 #1

46fafa opened this issue Dec 27, 2022 · 1 comment

Comments

@46fafa
Copy link

46fafa commented Dec 27, 2022

博主你好,能不能麻烦你弄一个详细的使用这个小工具的方法,跪谢!!

@jackeyzzz12138
Copy link

你好,我使用的是hexo官方注入的方法实现的。
首先将仓库里的js文件下载到 博客根目录/sources/js/ 下,然后转到 博客根目录/scripts/自定义名字.js 编辑以下代码

hexo.extend.injector.register('body_end', `
  <script src="/js/hexo_resize_image.js"></script>
`)

希望能对你有帮助

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

No branches or pull requests

2 participants