We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我用了最新的Hexo,但使用了撸主的主题后只要添加tags就会爆粗如下错误。。。
[error] 21:38:03.154 HexoError: Render failed: index.html TypeError: h:\rsww\themes\greyshade\layout\index.ejs:3 1|
3| <%- partial('_partial/post', {item: item, index: true}) %> 4| <% }); %> 5|
h:\rsww\themes\greyshade\layout_partial\post.ejs:2 1|
2| <%- partial('article', {item: item, index: index})%> 3|
h:\rsww\themes\greyshade\layout_partial\article.ejs:5 3|
5| <%- partial('post/tag', {type: "index"}) %> 6| <% if(item.comment & config.disqus_shortname) { %> 7| 8| Comments
h:\rsww\themes\greyshade\layout_partial\post\tag.ejs:9 7| } %> 8| <% if(item.tags && item.tags.length) { %>
9| <% 10| var tags = []; 11| item.tags.forEach(function(tag){ 12| tags.push('' + tag.name + '');
Cannot read property 'path' of null
The text was updated successfully, but these errors were encountered:
我的源码中并没有“ ' + tag.name + '');”这一行……麻烦git pull一下再看看还有同样的问题吗?
Sorry, something went wrong.
No branches or pull requests
我用了最新的Hexo,但使用了撸主的主题后只要添加tags就会爆粗如下错误。。。
[error] 21:38:03.154 HexoError: Render failed: index.html
TypeError: h:\rsww\themes\greyshade\layout\index.ejs:3
1|
2| <% page.posts.each(function(item){ %>
6|
h:\rsww\themes\greyshade\layout_partial\post.ejs:2
1|
4| <% if(!index) { %>
5| <%- partial('post/sharing') %>
h:\rsww\themes\greyshade\layout_partial\article.ejs:5
3|
4| <%- partial('post/date', {type: "index"}) %>
h:\rsww\themes\greyshade\layout_partial\post\tag.ejs:9
7| } %>
8| <% if(item.tags && item.tags.length) { %>
Cannot read property 'path' of null
The text was updated successfully, but these errors were encountered: