Closed dandyxu closed 6 years ago
Live demo? How about releases/tag/v6.0.6?
@sli1989 no need to reproduce this bug in other NexT versions. I think it's appear after update to Hexo v3.7.0 with use default language
fixes. So, need just to reproduce this bug under this Hexo version and try to resolve this.
language
option not setted by default, e.g. language:
language: default
language
option in main Hexo's configdefault.yml
symlink on _en.yml
(best variant for now)_en.yml
file on default.yml
(need to check i18n services for this)@dandyxu can u confirm what in previous Hexo v3.6.0 this bug not detected?
Checked, not detected in previous Hexo versions.
Need to set language: lang
in Hexo v3.7.0. Can't leave it blank.
The bug has been confirmed only in Hexo v3.7.0+
@sli1989 @ivan-nginx Thanks for your responses and helps. As you said, the issue was happened because of language
settings. Previously I set language : en
and now I only need to change to language : _en
or rename _en.yml
file to default.yml
, the issue is resolved.
@ivan-nginx I tried to install Hexo v3.6.0 but everytime I can only install the latest version v3.7.0. I'm sorry that I'm new to Hexo and I couldn't find any tutorials about installing specific version of Hexo neither. So I probably can't confirm whether this bug is also appeared in Hexo v3.6.0. However, if you can direct me some tutorials, I'm very appreciated about that. Thank you.
@sli1989 Thank you very much as well for trying to figure this issue out for me.
@dandyxu @sli1989 fixed in #210 and merged into master branch.
For now u can define language as u want:
language: en
(recommended)language: default
language:
(not defined value, by default)language: sfdgdgdf
))
— will be used en
language as default.If issue solved, close it please.
I agree and want to create new issue
Expected behavior
When I upgrade hexo to latest 3.7.0 and download latest release version of theme-next (v6.1.0), everything is fine but all post_meta don't display normally. For example, in the post_meta area, by default, it should display "Posted on 2018-04-03".
Actual behavior
But actually it displays as "post.posted 2018-04-03". The same as in the footer: Powered -> footer.powered etc.
Steps to reproduce the behavior
Node.js and NPM Information
Package dependencies Information
Hexo Information
Hexo version
Hexo Configuration
NexT Information
NexT Version:
NexT Scheme:
NexT Configuration:
Other Information
https://imgur.com/a/yj3oo