-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
.j2 file in code_dir causing rendering error #5479
Comments
j2 becomes html and loses the content field? (Is this normal behaviour?) hexo/lib/plugins/tag/include_code.ts Lines 57 to 58 in 093dc2d
|
I think setting |
The current situation is more complicated than I thought. Hexo's current database models
I have not found a very elegant solution about how to handle files in |
This comment was marked as outdated.
This comment was marked as outdated.
I guess that's a problem but not a critical one. code_dir itself should not be rendered |
Check List
hexo version
to check)Expected behavior
.j2
files incode_dir
folder should not breakshexo generate
Actual behavior
hexo generate
will fail. (see the reproducing steps)How to reproduce?
Gives the following error:
Is the problem still there under
Safe mode
?no
Your Node.js & npm version
Your Hexo and Plugin version
Your
package.json
Your site's
_config.yml
(Optional)No response
Others
No response
The text was updated successfully, but these errors were encountered: