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

js 文件 > 被转义 #4

Closed
MHuiG opened this issue Jan 28, 2022 · 1 comment · Fixed by hexojs/hexo#5118
Closed

js 文件 > 被转义 #4

MHuiG opened this issue Jan 28, 2022 · 1 comment · Fixed by hexojs/hexo#5118

Comments

@MHuiG
Copy link

MHuiG commented Jan 28, 2022

步骤

  1. blog-source/source/ 文件夹下创建文件 0.js
const a=()=>{
 
}
  1. hexo s
  2. see bug
    image

版本信息
image

移除 hexo-pangu 后正常:
image

另外 theme/source/ 文件夹下创建文件 0.js 是正常的

@stevenjoezhang
Copy link
Member

Hexo 已知问题: hexojs/hexo#4468
需要设置 skip_render:

skip_render:
  - 0.js

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

Successfully merging a pull request may close this issue.

2 participants