-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Migrate to Nunjucks #1214
Comments
Benchmark (Need more test cases)
|
Ah, although I use neither Hexo nor NexT now, I can still help about things of nunjucks plugin, though I have not upload my plugin a lot time, I think it's still the newest alive nunjucks plugin. By the way, it's name on https://npmjs.com is called |
About |
@stevenjoezhang @ivan-nginx @1v9 About #1068 (comment), although I never use
So nunjucks says
{% set current_year = '1970' %} and test again, I don't have a valid |
@AlynxZhou Thanks so much! |
Nothing, if you never find my repo and reference my issue, I would never see this. |
Looks like |
Thanks, I'll check for that. |
Jobs done |
Any developer could log issues here, see njk, should use Hexo v4/master version.
Hexo:
TypeError: Cannot read property 'replace' of null at Hexo.externalLinkFilter
TypeError: Cannot read property 'match' of null at Hexo.hexoMetaGeneratorInject
NexT plugin:
Error: filter not found: json_encode
(usedump
in hexo-next-title)On the road:
null
except archive page, no errors again.Unhandled rejection Template render error: unknown block tag: endif
Unhandled rejection Template render error: unknown block tag: endfor
Use nunjucks-compatible syntax & operator #1068 (comment)
Pending:
TypeError: Cannot read property 'charAt' of undefined
TypeError: Cannot read property 'charAt' of undefined
Unable to call
__, which is undefined or falsey
expected block end in include statement
Unable to call
__, which is undefined or falsey
Unable to call
Date["now"], which is undefined or falsey
template not found: localsearch.swig
The text was updated successfully, but these errors were encountered: