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

Resource file like css and json should skip rendering by default #5056

Closed
2 tasks done
D-Sketon opened this issue Sep 12, 2022 · 3 comments · Fixed by #5118
Closed
2 tasks done

Resource file like css and json should skip rendering by default #5056

D-Sketon opened this issue Sep 12, 2022 · 3 comments · Fixed by #5118

Comments

@D-Sketon
Copy link
Member

Check List

Please check followings before submitting a new feature request.

  • I have already read Docs page
  • I have already searched existing issues

Feature Request

Resource file like css and json should skip rendering by default. In this case, users don't need to add file path to skip_render in _config.yml

Others

if this feature can be realized, the issue #4976 may be solved

@renbaoshuo
Copy link
Member

I don't think it should be set as the default option, some existing plugins (like https://github.com/hexojs/hexo-clean-css) depend on this behavior.

@renbaoshuo
Copy link
Member

Maybe we can consider setting disableNunjucks to true for css files.

@stevenjoezhang
Copy link
Member

See also #4468

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.

3 participants